Re: [RFC V1 1/6] Revert "vhost-backend: remove vhost_kernel_reset_device()"

2024-09-03 Thread Euan Turner
Hi Steve, On 30/08/2024 12:56, Steve Sistare wrote: This reverts commit e6383293eb01928692047e617665a742cca87e23. The reset function is needed for CPR. Signed-off-by: Steve Sistare --- hw/virtio/vhost-backend.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw/virtio/vhost-backen

Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-02 Thread Euan Turner
On 30/06/2024 20:44, Steve Sistare wrote: Define functions to put/get file descriptors to/from a QEMUFile, for qio channels that support SCM_RIGHTS. Maintain ordering such that put(A), put(fd), put(B) followed by get(A), get(fd), get(B) always succeeds. Other get orderings may succeed but