qemu: init all queues to NO_VECTOR value
commitb8193adbda922659ba290fd9fb6ee053ee191d70
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Sep 2009 18:20:15 +0000 (7 21:20 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:46 +0000 (11 10:19 -0500)
treea2713572832003a6345a02ec2216cbbf69b081dd
parent711bf3d954371abffc07e397fc868a9c9e7e5585
qemu: init all queues to NO_VECTOR value

initialize vectors for all vqs to VIRTIO_NO_VECTOR rather than 0 which
is a valid vector. This fixes migration which happened before driver
was loaded.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: Amit Shah <amit.shah@redhat.com>
Tested-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio.c