diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2017-02-20 22:43:12 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-03-16 01:46:41 +0200 |
commit | d584f1b9ca7452ed8d6cd80f7fccd79d667ae49b (patch) | |
tree | 7bff296599edb06fae38918ee3bfaac35ed51b10 /include/hw/compat.h | |
parent | c2cabb34220d63f93e4a0162a26535cbd1f30243 (diff) | |
download | qemu-d584f1b9ca7452ed8d6cd80f7fccd79d667ae49b.tar.gz |
hw/virtio: fix Link Control Register for PCI Express virtio devices
Make several Link Control Register flags writable to conform
with the PCI Express 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/hw/compat.h')
-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 c98776a6d6..0931aa59c4 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -26,6 +26,10 @@ .driver = "virtio-pci",\ .property = "x-pcie-deverr-init",\ .value = "off",\ + },{\ + .driver = "virtio-pci",\ + .property = "x-pcie-lnkctl-init",\ + .value = "off",\ }, #define HW_COMPAT_2_7 \ |