aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2013-04-23 10:29:36 +0200
committerAndreas Färber <afaerber@suse.de>2013-05-01 13:04:17 +0200
commit13eed94ed5617b98e657163490584dc2a0cc4b32 (patch)
tree04a4408ad812a18b1c161131827aa6a6fbdd70d1 /kvm-all.c
parentc4cfef5e8a6371aa5e6577f2b980315c2dc46cfb (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 2d927217bd..f6c0f4a087 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -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),