diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-11-23 21:55:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-11-24 17:25:44 +0200 |
commit | 1abeb5a65d515f8a8a9cfc4a82342f731bd9321f (patch) | |
tree | 8af38bcbf8192f7ef000e58ef1162308b658faf0 /hw/adlib.c | |
parent | ce67ed65000b8f56c6e0576a1a9d3c4b0f596f5c (diff) | |
download | qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.zip qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.tar.gz qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.tar.bz2 |
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/adlib.c')
0 files changed, 0 insertions, 0 deletions