Revert "virtio_pci: remove struct virtio_pci_vq_info"
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 4 Apr 2017 18:44:44 +0000 (21:44 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Apr 2017 21:29:59 +0000 (00:29 +0300)
commit0a9b3f47da5b8a2c4bf4f2f2199761f49ac0a54e
treece81a903abb42f7d92d5e1a8929d3ced8c388d69
parent0b0f9dc52ed0333fa52a9314b53d0b2b248b821d
Revert "virtio_pci: remove struct virtio_pci_vq_info"

This reverts commit 5c34d002dcc7a6dd665a19d098b4f4cd5501ba1a.

Conflicts:
drivers/virtio/virtio_pci_common.c

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

This reverts the cleanup changes but keeps the affinity support.

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