Revert "virtio_pci: simplify MSI-X setup"
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 4 Apr 2017 18:08:54 +0000 (21:08 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Apr 2017 21:19:40 +0000 (00:19 +0300)
commitbf951b1045cc5d694b5e767c4f4d05df4f2cbe89
treeb0672194c8cf7a36d1262481ca80afa3eb62884f
parent8f10d0149fb983aa84a02a92f9c2113d69e23cb8
Revert "virtio_pci: simplify MSI-X setup"

This reverts commit 52a61516125fa9a21b3bdf4f90928308e2e5573f.

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