From: Jan Kiszka Date: Wed, 30 Jul 2014 07:01:59 +0000 (+0200) Subject: pc: Fix disabling of vapic for compat PC models X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~489^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df1fd4b541b3ae0dc44843741363d00080775294;p=sdk%2Femulator%2Fqemu.git 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index e4e0beb..061f4d9 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",\ },{\