From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgr4F-0001lV-Q9 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 04:14:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgr4A-0005lY-TB for qemu-devel@nongnu.org; Wed, 22 Oct 2014 04:14:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgr4A-0005lO-Ed for qemu-devel@nongnu.org; Wed, 22 Oct 2014 04:14:46 -0400 Date: Wed, 22 Oct 2014 11:18:17 +0300 From: "Michael S. Tsirkin" Message-ID: <1413965859-7698-5-git-send-email-mst@redhat.com> References: <1413965859-7698-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1413965859-7698-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v2 4/9] pc: Fix disabling of vapic for compat PC models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori , Jan Kiszka From: Jan Kiszka We used to be able to address both the QEMU and the KVM APIC via "apic". This doesn't work anymore. So we need to use their parent class to turn off the vapic on machines that should not expose them. Signed-off-by: Jan Kiszka Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/pc_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 25ca253..f6edde1 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -662,7 +662,7 @@ static QEMUMachine pc_machine_v1_1 = { .property = "class",\ .value = stringify(PCI_CLASS_MEMORY_RAM),\ },{\ - .driver = "apic",\ + .driver = "apic-common",\ .property = "vapic",\ .value = "off",\ },{\ -- MST