diff options
| author | Michael S. Tsirkin | 2010-11-23 20:55:39 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2010-11-24 16:25:44 +0100 |
| commit | 1abeb5a65d515f8a8a9cfc4a82342f731bd9321f (patch) | |
| tree | 8af38bcbf8192f7ef000e58ef1162308b658faf0 /blockdev.c | |
| parent | virtio: Convert fprintf() to error_report() (diff) | |
| download | qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.tar.gz qemu-1abeb5a65d515f8a8a9cfc4a82342f731bd9321f.tar.xz 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 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
