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 S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 09:52:24 +0000 (11:52 +0200)
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>
hw/i386/pc_piix.c

index e4e0beb75c9561c254424645416a2a463d7ecaf9..061f4d977a541fd6dfa23f289456d67cda60c09d 100644 (file)
@@ -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",\
         },{\