qemu/virtio: mark msi vectors used on load
commite6da76800041f9aadd0a3607bed99aaf59794560
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jul 2009 13:02:34 +0000 (5 16:02 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:44:30 +0000 (10 13:44 -0500)
tree98d4ff534034dce754c89dfb2fba9292f94f1d93
parent72755a709619b1db204c675df8f1093d54e38128
qemu/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: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c