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 | 26657874549b09f95c03879ae02190896d736f09 (patch) | |
tree | 8af38bcbf8192f7ef000e58ef1162308b658faf0 /hw/intel-hda.h | |
parent | b34e70482121a94b45e0ffaf81d44b72b7354d5e (diff) | |
download | qemu-26657874549b09f95c03879ae02190896d736f09.tar.gz qemu-26657874549b09f95c03879ae02190896d736f09.tar.bz2 qemu-26657874549b09f95c03879ae02190896d736f09.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/intel-hda.h')
0 files changed, 0 insertions, 0 deletions