v1 -> v2:
Adjustments on the issues pointed out by Dongli:
* Patch 1: avoid emitting SETUP event in resume (postcopy recovery) case;
* Patch 2:
- gate vm_resume() op by checking that block graph is activated already;
- reword commit message;
- adjust the comment.
Also:
* Patch 4: use more generic proxy object qdev_get_parent_bus()->parent
instead of container_of(struct VHostVSockPCI)
v1:
https://lore.kernel.org/qemu-devel/[email protected]/
Andrey Drobyshev (5):
migration: emit SETUP notification before CPR
migration: stop VM earlier for CPR
vhost: reset vhost devices for CPR
vhost-vsock: preserve vhost FD during CPR
vhost-vsock: don't reset connections during CPR
hw/virtio/vhost-kernel.c | 6 ++
hw/virtio/vhost-vsock.c | 40 +++++++++++--
hw/virtio/vhost.c | 33 +++++++++++
include/hw/virtio/vhost-backend.h | 1 +
include/hw/virtio/vhost.h | 1 +
migration/migration.c | 98 ++++++++++++++++++++++++-------
6 files changed, 152 insertions(+), 27 deletions(-)
--
2.47.1