qemu-irix/include/hw/virtio
Laurent Vivier a23a6d1839 virtio-rng: stop virtqueue while the CPU is stopped
If we modify the virtio-rng virqueue while the
vmstate is already migrated we can have some
inconsistencies between the virtqueue state and
the memory content.

To avoid this, stop the virtqueue while the CPU
is stopped.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by:  Amit Shah <amit@kernel.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2017-04-21 12:25:40 +02:00
..
vhost-backend.h
vhost-scsi.h
vhost-vsock.h
vhost.h vhost: generalize iommu memory region 2017-03-30 19:09:16 +03:00
virtio-access.h virtio: add virtio_*_phys_cached 2017-02-17 21:52:30 +02:00
virtio-balloon.h
virtio-blk.h virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
virtio-bus.h
virtio-crypto.h
virtio-gpu.h
virtio-input.h virtio-input: fix eventq batching 2017-03-27 12:14:45 +02:00
virtio-net.h
virtio-rng.h virtio-rng: stop virtqueue while the CPU is stopped 2017-04-21 12:25:40 +02:00
virtio-scsi.h virtio-scsi: Make virtio_scsi_acquire/release public 2017-03-24 11:48:58 +01:00
virtio-serial.h
virtio.h virtio: fix vring_align() on 64-bit windows 2017-03-29 02:35:24 +03:00