]> git.ipfire.org Git - thirdparty/qemu.git/commit
msix: make [un]use vectors on reset/load optional
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 29 Aug 2012 16:40:56 +0000 (19:40 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 5 Sep 2012 15:30:38 +0000 (10:30 -0500)
commitce4fc986e576536b0998a7f8e963c0932adda6d0
tree9d8c2fb7ca7f607cc7b57b5d86a276dafc31095c
parent219a7482ab5866c64fc5a815381737ef8cf77f63
msix: make [un]use vectors on reset/load optional

The facility to use/unuse vectors dynamically is helpful
for virtio but little else: everyone just seems to use
vectors in their init function.

Avoid clearing msix vector use info on reset and load.
For virtio, clear it explicitly.
This should fix regressions reported with ivshmem - though
I didn't test this, I verified that virtio keeps
working like it did.

Tested-by: Cam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 3cac001e5ae3c0ceb33e0a1978a48cb5e2482ab2)

Conflicts:

hw/msix.c
hw/virtio-pci.c

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/msix.c
hw/virtio-pci.c