From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGTcv-000422-G1 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 12:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGTcr-0000gU-OF for qemu-devel@nongnu.org; Fri, 24 Jun 2016 12:06:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGTcr-0000gO-Iy for qemu-devel@nongnu.org; Fri, 24 Jun 2016 12:06:37 -0400 From: Igor Mammedov Date: Fri, 24 Jun 2016 18:05:59 +0200 Message-Id: <1466784366-281935-12-git-send-email-imammedo@redhat.com> In-Reply-To: <1466784366-281935-1-git-send-email-imammedo@redhat.com> References: <1466784366-281935-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v2 11/18] 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: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com, mst@redhat.com, armbru@redhat.com, eduardo.otubo@profitbricks.com, eblake@redhat.com, pkrempa@redhat.com, marcel@redhat.com 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(). -- 1.8.3.1