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 12:37:00 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-12-17 19:32:25 +0100
commit7f8b6126e7d4417a7faa8fdd18d5870d937aadf8 (patch)
tree99b030a91f96b7b67c7dfcaaca09347417a191e1 /include/hw/boards.h
parent53b62bec0144615a54c77f4fc5561501a6a2c844 (diff)
downloadfocaccia-qemu-7f8b6126e7d4417a7faa8fdd18d5870d937aadf8.tar.gz
focaccia-qemu-7f8b6126e7d4417a7faa8fdd18d5870d937aadf8.zip
vl: move icount configuration earlier
Once qemu_tcg_configure is turned into a QOM property setter, it will not
be able to set a default value for mttcg_enabled.  Setting the default will
move to the TCG instance_init function, which currently runs before "-icount"
is processed.

However, it is harmless to do configure_icount for all accelerators; we will
just fail later if a non-TCG accelerator is selected.  So do that.

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