pc: Fix disabling of vapic for compat PC models
commitdf1fd4b541b3ae0dc44843741363d00080775294
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 30 Jul 2014 07:01:59 +0000 (30 09:01 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 09:52:24 +0000 (2 11:52 +0200)
treee585361212c092ba4848c297e393a9c1c8728010
parent562542b6aee2c6be5b6c411edc92c11905b4e9c9
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>
hw/i386/pc_piix.c