mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/virtio: fix error enabling flags in Device Control register
When the virtio devices are PCI Express, make error-enabling flags writable to respect the PCIe spec. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
f03d8ea330
commit
c2cabb3422
4 changed files with 21 additions and 1 deletions
|
@ -22,6 +22,10 @@
|
|||
.driver = TYPE_PCI_DEVICE,\
|
||||
.property = "x-pcie-extcap-init",\
|
||||
.value = "off",\
|
||||
},{\
|
||||
.driver = "virtio-pci",\
|
||||
.property = "x-pcie-deverr-init",\
|
||||
.value = "off",\
|
||||
},
|
||||
|
||||
#define HW_COMPAT_2_7 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue