Skip to content
Commit ce4fc986 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Michael Roth
Browse files

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: default avatarCam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 3cac001e)

Conflicts:

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

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 219a7482
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment