mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
qdev/compat: virtio-net-pci 0.10 compatibility.
Add vectors property, allowing to turn off msi by setting vectors=0. Add compat property to pc-0.10 disabling msi. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8ad1251470
commit
a1e0fea587
2 changed files with 28 additions and 3 deletions
4
hw/pc.c
4
hw/pc.c
|
@ -1533,6 +1533,10 @@ static QEMUMachine pc_machine_v0_10 = {
|
|||
.driver = "virtio-console-pci",
|
||||
.property = "class",
|
||||
.value = stringify(PCI_CLASS_DISPLAY_OTHER),
|
||||
},{
|
||||
.driver = "virtio-net-pci",
|
||||
.property = "vectors",
|
||||
.value = stringify(0),
|
||||
},
|
||||
{ /* end of list */ }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue