Received: from eggs.gnu.org ([2001:4830:134:3::10]:58083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjuf-000310-2J for qemu-devel@nongnu.org; Thu, 14 Jul 2016 12:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNjud-00009P-6h for qemu-devel@nongnu.org; Thu, 14 Jul 2016 12:54:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjud-00009J-1G for qemu-devel@nongnu.org; Thu, 14 Jul 2016 12:54:59 -0400 From: Igor Mammedov Date: Thu, 14 Jul 2016 18:54:35 +0200 Message-Id: <1468515285-173356-7-git-send-email-imammedo@redhat.com> In-Reply-To: <1468515285-173356-1-git-send-email-imammedo@redhat.com> References: <1468515285-173356-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v4 06/16] 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, eduardo.otubo@profitbricks.com, Bandan Das 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 91396e8..c6d8704 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -3397,6 +3397,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.4