aboutsummaryrefslogtreecommitdiff
path: root/block/vvfat.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-08-05 17:50:07 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-08-05 16:56:34 +0300
commit74aae7b22b8a67cf31937b2f4bdefe2881e799e9 (patch)
treeda5290e56a2434aca7abdd3b30f21536dba2a6dd /block/vvfat.c
parent2be4f242b50a84bf360df02480b173bfed161107 (diff)
virtio: fix 1.0 virtqueue migration
1.0 does not requires physically-contiguous pages layout for a virtqueue. So we could not infer avail and used from desc. This means we need to migrate vring.avail and vring.used when host support virtio 1.0. This fixes malfunction of virtio 1.0 device after migration. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block/vvfat.c')
0 files changed, 0 insertions, 0 deletions