virtio: mark msi vectors used on load
commitcf2e620604a11caee6c10357b1c9fb5aee6c78ca
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jul 2009 13:02:34 +0000 (5 16:02 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 9 Jul 2009 10:03:19 +0000 (9 13:03 +0300)
treec9058b5eae4722e6e03699ced3d3fcb08d23a9f3
parent2460709165b51020c71b094125bc2a4cd605a754
virtio: mark msi vectors used on load

Usage of msi vectors is controlled by the guest and so needs to be
restored on load. Do this for msi vectors used by the virtio device.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/virtio-pci.c