Revert "virtio_pci: don't duplicate the msix_enable flag in struct pci_dev"
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 4 Apr 2017 18:09:20 +0000 (21:09 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Apr 2017 21:28:41 +0000 (00:28 +0300)
commit2008c1544c73d5190f81ef1790fa5bd2fade5bd0
tree2569fe5b0deec35bdad7dddd93e794a204fbac5e
parentbf951b1045cc5d694b5e767c4f4d05df4f2cbe89
Revert "virtio_pci: don't duplicate the msix_enable flag in struct pci_dev"

This reverts commit 53a020c661741f3b87ad3ac6fa545088aaebac9b.

The cleanup seems to be one of the changes that broke
hybernation for some users. We are still not sure why
but revert helps.

Tested-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_common.c
drivers/virtio/virtio_pci_common.h
drivers/virtio/virtio_pci_legacy.c
drivers/virtio/virtio_pci_modern.c
include/uapi/linux/virtio_pci.h