]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
pc: Fix disabling of vapic for compat PC models
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 30 Jul 2014 07:01:59 +0000 (09:01 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 6 Jan 2015 22:06:25 +0000 (16:06 -0600)
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 <jan.kiszka@siemens.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit df1fd4b541b3ae0dc44843741363d00080775294)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/pc_piix.c

index 8dc829018ee63eb122b8a69edd4aabf39c041e7b..96b8a18102ec75a503b2f6e0d3a4566e6d7a7431 100644 (file)
@@ -646,7 +646,7 @@ static QEMUMachine pc_machine_v1_1 = {
             .property = "class",\
             .value    = stringify(PCI_CLASS_MEMORY_RAM),\
         },{\
-            .driver   = "apic",\
+            .driver   = "apic-common",\
             .property = "vapic",\
             .value    = "off",\
         },{\