commit | 1abeb5a65d515f8a8a9cfc4a82342f731bd9321f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Tue Nov 23 21:55:39 2010 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Nov 24 17:25:44 2010 +0200 |
tree | 8af38bcbf8192f7ef000e58ef1162308b658faf0 | |
parent | ce67ed65000b8f56c6e0576a1a9d3c4b0f596f5c [diff] |
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>