Skip to content
Commit 1abeb5a6 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarJuan Quintela <quintela@redhat.com>
Tested-by: default avatarJuan Quintela <quintela@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent ce67ed65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment