summary refs log tree commit diff stats
path: root/hw/parallel.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-11-23 21:55:39 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-11-24 17:25:44 +0200
commit1abeb5a65d515f8a8a9cfc4a82342f731bd9321f (patch)
tree8af38bcbf8192f7ef000e58ef1162308b658faf0 /hw/parallel.c
parentce67ed65000b8f56c6e0576a1a9d3c4b0f596f5c (diff)
downloadfocaccia-qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.tar.gz
focaccia-qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.zip
virtio: fix up VQ checks
When migration triggers before a VQ is initialized,
base pa is 0 and last_used_index must be 0 too:
we don't have a ring to compare to.

Reported-by: Juan Quintela <quintela@redhat.com>
Tested-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/parallel.c')
0 files changed, 0 insertions, 0 deletions