diff options
| author | Marcel Apfelbaum | 2017-02-20 21:43:11 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-03-16 00:46:40 +0100 |
| commit | c2cabb34220d63f93e4a0162a26535cbd1f30243 (patch) | |
| tree | 9b7d1f2d6b754a060998857172d11c4d58f3f207 /include | |
| parent | hw/pcie: fix Extended Configuration Space for devices with no Extended Capabi... (diff) | |
| download | qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.tar.gz qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.tar.xz qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index ce3bfe3eea..c98776a6d6 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -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 \ |
