]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/virtio/virtio-pci.c
virtio-pci: don't touch pci on virtio reset
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Jul 2022 16:10:38 +0000 (12:10 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Aug 2022 17:08:11 +0000 (13:08 -0400)
commit9afb4177d66ac1eee858aba07fa2fc729b274eb4
tree9950fb0d8211a6e7b73af4fdf6b90742eed9f8c6
parent888fbaaf029dde7b86d2be24bded6fda6bd80b6c
virtio-pci: don't touch pci on virtio reset

virtio level reset should not affect pci express
registers such as PM, error or link.

Fixes: 27ce0f3afc ("hw/virtio: fix Power Management Control Register for PCI Express virtio devices")
Fixes: d584f1b9ca ("hw/virtio: fix Link Control Register for PCI Express virtio devices")
Fixes: c2cabb3422 ("hw/virtio: fix error enabling flags in Device Control register")
Cc: "Marcel Apfelbaum" <marcel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-pci.c