mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/virtio: fix Power Management Control Register for PCI Express virtio devices
Make Power Management State flag 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>
This commit is contained in:
parent
d584f1b9ca
commit
27ce0f3afc
4 changed files with 21 additions and 0 deletions
|
@ -30,6 +30,10 @@
|
|||
.driver = "virtio-pci",\
|
||||
.property = "x-pcie-lnkctl-init",\
|
||||
.value = "off",\
|
||||
},{\
|
||||
.driver = "virtio-pci",\
|
||||
.property = "x-pcie-pm-init",\
|
||||
.value = "off",\
|
||||
},
|
||||
|
||||
#define HW_COMPAT_2_7 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue