提交 df1fd4b5 编写于 作者: J Jan Kiszka 提交者: Michael S. Tsirkin

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: NJan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 562542b6
...@@ -662,7 +662,7 @@ static QEMUMachine pc_machine_v1_1 = { ...@@ -662,7 +662,7 @@ static QEMUMachine pc_machine_v1_1 = {
.property = "class",\ .property = "class",\
.value = stringify(PCI_CLASS_MEMORY_RAM),\ .value = stringify(PCI_CLASS_MEMORY_RAM),\
},{\ },{\
.driver = "apic",\ .driver = "apic-common",\
.property = "vapic",\ .property = "vapic",\
.value = "off",\ .value = "off",\
},{\ },{\
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册