Message ID | 20170119210449.11991-2-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
On Thu, Jan 19, 2017 at 07:04:44PM -0200, Eduardo Habkost wrote: > The class is now safe because the assert(kvm_enabled()) line was > removed by commit e435601058e656e6d24e3e87b187e5518f7bf16a. > > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Applied to x86-next.
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index cff23e129d..7947c8737c 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -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)
The class is now safe because the assert(kvm_enabled()) line was removed by commit e435601058e656e6d24e3e87b187e5518f7bf16a. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- target/i386/cpu.c | 2 -- 1 file changed, 2 deletions(-)