diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2017-02-20 22:43:11 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-03-16 01:46:40 +0200 |
commit | c2cabb34220d63f93e4a0162a26535cbd1f30243 (patch) | |
tree | 9b7d1f2d6b754a060998857172d11c4d58f3f207 /include | |
parent | f03d8ea330d69f3a98093dfa2633635dff355f90 (diff) | |
download | qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.zip qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.tar.gz qemu-c2cabb34220d63f93e4a0162a26535cbd1f30243.tar.bz2 |
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 ce3bfe3..c98776a 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 \ |