[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/11] pc: cpu: allow device_add to be used with x86
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH 11/11] pc: cpu: allow device_add to be used with x86 cpu |
Date: |
Thu, 23 Jun 2016 16:54:29 +0200 |
Signed-off-by: Igor Mammedov <address@hidden>
---
target-i386/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 8c651f2..a67e551 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -3236,6 +3236,7 @@ static void x86_cpu_common_class_init(ObjectClass *oc,
void *data)
cc->cpu_exec_enter = x86_cpu_exec_enter;
cc->cpu_exec_exit = x86_cpu_exec_exit;
+ dc->cannot_instantiate_with_device_add_yet = false;
/*
* Reason: x86_cpu_initfn() calls cpu_exec_init(), which saves the
* object in cpus -> dangling pointer after final object_unref().
--
1.8.3.1
- [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, (continued)
- [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Igor Mammedov, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Eduardo Habkost, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Igor Mammedov, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Eduardo Habkost, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Igor Mammedov, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Eduardo Habkost, 2016/06/23
- Re: [Qemu-devel] [PATCH 06/11] target-i386: add socket/core/thread properties to X86CPU, Igor Mammedov, 2016/06/24
[Qemu-devel] [PATCH 08/11] pc: implement query-hotpluggable-cpus callback, Igor Mammedov, 2016/06/23
[Qemu-devel] [PATCH 09/11] pc: register created initial and hotpluged CPUs in one place pc_cpu_plug(), Igor Mammedov, 2016/06/23
[Qemu-devel] [PATCH 10/11] pc: delay setting number of boot CPUs to machine_done time, Igor Mammedov, 2016/06/23
[Qemu-devel] [PATCH 11/11] pc: cpu: allow device_add to be used with x86 cpu,
Igor Mammedov <=