diff options
author | Igor Mammedov <imammedo@redhat.com> | 2013-04-23 10:29:36 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:04:17 +0200 |
commit | 13eed94ed5617b98e657163490584dc2a0cc4b32 (patch) | |
tree | 04a4408ad812a18b1c161131827aa6a6fbdd70d1 /kvm-all.c | |
parent | c4cfef5e8a6371aa5e6577f2b980315c2dc46cfb (diff) | |
download | qemu-13eed94ed5617b98e657163490584dc2a0cc4b32.zip qemu-13eed94ed5617b98e657163490584dc2a0cc4b32.tar.gz qemu-13eed94ed5617b98e657163490584dc2a0cc4b32.tar.bz2 |
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>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ bool kvm_async_interrupts_allowed; bool kvm_irqfds_allowed; bool kvm_msi_via_irqfd_allowed; bool kvm_gsi_routing_allowed; +bool kvm_allowed; static const KVMCapabilityInfo kvm_required_capabilites[] = { KVM_CAP_INFO(USER_MEMORY), |