Received: from eggs.gnu.org ([2001:4830:134:3::10]:37659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgqGO-000501-71 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgqGJ-0007D1-Bq for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgqGJ-0007Cq-3q for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:15 -0400 Date: Wed, 22 Oct 2014 10:26:45 +0300 From: "Michael S. Tsirkin" Message-ID: <1413962766-28915-5-git-send-email-mst@redhat.com> References: <1413962766-28915-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1413962766-28915-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 4/7] 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