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