Received: from eggs.gnu.org ([2001:4830:134:3::10]:39237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPt80-0005h3-5r for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:09:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPt7v-0004JJ-7O for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:09:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPt7v-0004JF-1h for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:09:35 -0400 From: Eduardo Habkost Date: Wed, 20 Jul 2016 12:08:26 -0300 Message-Id: <1469027314-31655-21-git-send-email-ehabkost@redhat.com> In-Reply-To: <1469027314-31655-1-git-send-email-ehabkost@redhat.com> References: <1469027314-31655-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PULL 20/28] pc: cpu: Allow device_add to be used with x86 cpu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , Richard Henderson , qemu-devel@nongnu.org, Igor Mammedov From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Eduardo Habkost --- target-i386/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 5d0e085..3df5f5f 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -3396,6 +3396,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.5.5