From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG624-0004DA-0m for qemu-devel@nongnu.org; Thu, 23 Jun 2016 10:55:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG61w-0007O0-Tc for qemu-devel@nongnu.org; Thu, 23 Jun 2016 10:55:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG61w-0007Nv-NJ for qemu-devel@nongnu.org; Thu, 23 Jun 2016 10:54:56 -0400 From: Igor Mammedov Date: Thu, 23 Jun 2016 16:54:29 +0200 Message-Id: <1466693669-139967-12-git-send-email-imammedo@redhat.com> In-Reply-To: <1466693669-139967-1-git-send-email-imammedo@redhat.com> References: <1466693669-139967-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 11/11] 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, zhugh.fnst@cn.fujitsu.com, eblake@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 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