[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/6] i386: Unset cannot_destroy_with_object_finalize
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 1/6] i386: Unset cannot_destroy_with_object_finalize_yet on "host" model |
Date: |
Thu, 19 Jan 2017 19:04:44 -0200 |
The class is now safe because the assert(kvm_enabled()) line was
removed by commit e435601058e656e6d24e3e87b187e5518f7bf16a.
Signed-off-by: Eduardo Habkost <address@hidden>
---
target/i386/cpu.c | 2 --
1 file changed, 2 deletions(-)
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)
--
2.11.0.259.g40922b1
- [Qemu-devel] [PATCH 0/6] i386: Add "max" CPU model to TCG and KVM, Eduardo Habkost, 2017/01/19
- [Qemu-devel] [PATCH 1/6] i386: Unset cannot_destroy_with_object_finalize_yet on "host" model,
Eduardo Habkost <=
- [Qemu-devel] [PATCH 2/6] i386: Add ordering field to CPUClass, Eduardo Habkost, 2017/01/19
- [Qemu-devel] [PATCH 3/6] i386: Rename X86CPU::host_features to X86CPU::max_features, Eduardo Habkost, 2017/01/19
- [Qemu-devel] [PATCH 4/6] i386: Create "max" CPU model, Eduardo Habkost, 2017/01/19
- [Qemu-devel] [PATCH 6/6] i386: Don't set CPUClass::cpu_def on "max" model, Eduardo Habkost, 2017/01/19
- [Qemu-devel] [PATCH 5/6] i386: Make "max" model not use any host CPUID info on TCG, Eduardo Habkost, 2017/01/19
- Re: [Qemu-devel] [PATCH 0/6] i386: Add "max" CPU model to TCG and KVM, Peter Maydell, 2017/01/20
- Re: [Qemu-devel] [PATCH 0/6] i386: Add "max" CPU model to TCG and KVM, David Hildenbrand, 2017/01/20
- Re: [Qemu-devel] [PATCH 0/6] i386: Add "max" CPU model to TCG and KVM, Cornelia Huck, 2017/01/20