From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKgDL-0006ZA-KA for qemu-devel@nongnu.org; Wed, 06 Jul 2016 02:21:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKgDJ-0004Pv-PF for qemu-devel@nongnu.org; Wed, 06 Jul 2016 02:21:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKgDJ-0004Pp-JN for qemu-devel@nongnu.org; Wed, 06 Jul 2016 02:21:37 -0400 From: Igor Mammedov Date: Wed, 6 Jul 2016 08:20:47 +0200 Message-Id: <1467786055-85835-12-git-send-email-imammedo@redhat.com> In-Reply-To: <1467786055-85835-1-git-send-email-imammedo@redhat.com> References: <1467786055-85835-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v3 11/19] pc: cpu: allow device_add to be used with x86 cpu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pkrempa@redhat.com, ehabkost@redhat.com, mst@redhat.com, armbru@redhat.com, eduardo.otubo@profitbricks.com, marcel@redhat.com, pbonzini@redhat.com, rth@twiddle.net Signed-off-by: Igor Mammedov --- target-i386/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 1ec40a0..ebf4140 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -3239,6 +3239,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(). -- 2.7.0