qemu-irix/include/hw/virtio
Pavel Butsykin 55289fb036 virtio-serial: add enable_backend callback
We should guarantee that RAM will not be modified while VM has a stopped
state, otherwise it can lead to negative consequences during post-copy
migration. In RUN_STATE_FINISH_MIGRATE step, it's expected that RAM on
source side will not be modified as this could lead to non-consistent vm state
on the destination side. Also RAM access during postcopy-ram migration with
enabled release-ram capability can lead to sad consequences.

Let's add enable_backend() callback to avoid undesirable virtioqueue changes
in the guest memory.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Message-Id: <20170919120733.22020-1-pbutsykin@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-21 11:51:49 +02:00
..
vhost-backend.h
vhost-scsi-common.h
vhost-scsi.h
vhost-user-scsi.h
vhost-vsock.h
vhost.h
virtio-access.h
virtio-balloon.h
virtio-blk.h
virtio-bus.h
virtio-crypto.h
virtio-gpu.h
virtio-input.h
virtio-net.h
virtio-rng.h
virtio-scsi.h
virtio-serial.h virtio-serial: add enable_backend callback 2017-09-21 11:51:49 +02:00
virtio.h