diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-11-13 09:59:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:25 +0100 |
commit | 28a0961757fcf1354a8a8f4df9f40d75c5b633dc (patch) | |
tree | c4b753cc93ae5e6590006a96f6c2e1328d3ec405 /memory_ldst.inc.c | |
parent | deda73e89f271e15044334ad6c0dcdae5341b71d (diff) | |
download | qemu-28a0961757fcf1354a8a8f4df9f40d75c5b633dc.zip qemu-28a0961757fcf1354a8a8f4df9f40d75c5b633dc.tar.gz qemu-28a0961757fcf1354a8a8f4df9f40d75c5b633dc.tar.bz2 |
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 'memory_ldst.inc.c')
0 files changed, 0 insertions, 0 deletions