mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
cpu: Call cpu_synchronize_post_init() from DeviceClass::realize()
If hotplugged, synchronize CPU state to KVM. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
c4cfef5e8a
commit
13eed94ed5
5 changed files with 18 additions and 11 deletions
1
vl.c
1
vl.c
|
@ -267,7 +267,6 @@ static NotifierList machine_init_done_notifiers =
|
|||
NOTIFIER_LIST_INITIALIZER(machine_init_done_notifiers);
|
||||
|
||||
static bool tcg_allowed = true;
|
||||
bool kvm_allowed;
|
||||
bool xen_allowed;
|
||||
uint32_t xen_domid;
|
||||
enum xen_mode xen_mode = XEN_EMULATE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue