summaryrefslogtreecommitdiff
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2014-07-30 09:01:59 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-11-02 11:52:24 +0200
commitdf1fd4b541b3ae0dc44843741363d00080775294 (patch)
treee585361212c092ba4848c297e393a9c1c8728010 /hw/i386/pc_piix.c
parent562542b6aee2c6be5b6c411edc92c11905b4e9c9 (diff)
downloadqemu-df1fd4b541b3ae0dc44843741363d00080775294.tar.gz
pc: Fix disabling of vapic for compat PC models
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>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index e4e0beb75c..061f4d977a 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",\
},{\