summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-11-13 09:59:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:32:25 +0100
commit28a0961757fcf1354a8a8f4df9f40d75c5b633dc (patch)
treec4b753cc93ae5e6590006a96f6c2e1328d3ec405 /include/hw/boards.h
parentdeda73e89f271e15044334ad6c0dcdae5341b71d (diff)
downloadfocaccia-qemu-28a0961757fcf1354a8a8f4df9f40d75c5b633dc.tar.gz
focaccia-qemu-28a0961757fcf1354a8a8f4df9f40d75c5b633dc.zip
vl: merge -accel processing into configure_accelerators
The next step is to move the parsing of "-machine accel=..." into vl.c,
unifying it with the configure_accelerators() function that has just
been introduced.  This way, we will be able to desugar it into multiple
"-accel" options, without polluting accel/accel.c.

The CONFIG_TCG and CONFIG_KVM symbols are not available in vl.c, but
we can use accel_find instead to find their value at runtime.  Once we
know that the binary has one of TCG or KVM, the default accelerator
can be expressed simply as "tcg:kvm", because TCG never fails to initialize.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions