]> git.proxmox.com Git - mirror_qemu.git/commitdiff
i386: Unset cannot_destroy_with_object_finalize_yet on "host" model
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 19 Jan 2017 21:04:44 +0000 (19:04 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 27 Feb 2017 16:22:58 +0000 (13:22 -0300)
The class is now safe because the assert(kvm_enabled()) line was
removed by commit e435601058e656e6d24e3e87b187e5518f7bf16a.

Message-Id: <20170119210449.11991-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c

index b6f157dca310751a23b3386337a44484fe5cc5d6..2adee420355b8143fb7426e3a46e149d93df445b 100644 (file)
@@ -1571,8 +1571,6 @@ static void host_x86_cpu_class_init(ObjectClass *oc, void *data)
      */
 
     dc->props = host_x86_cpu_properties;
-    /* Reason: host_x86_cpu_initfn() dies when !kvm_enabled() */
-    dc->cannot_destroy_with_object_finalize_yet = true;
 }
 
 static void host_x86_cpu_initfn(Object *obj)