Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-22 Thread Anton Kuchin
On 21/03/2023 19:49, Hanna Czenczek wrote: On 20.03.23 13:39, Anton Kuchin wrote: On 20/03/2023 11:33, Hanna Czenczek wrote: On 17.03.23 19:37, Anton Kuchin wrote: On 17/03/2023 19:52, Hanna Czenczek wrote: On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A

Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-21 Thread Hanna Czenczek
On 20.03.23 13:39, Anton Kuchin wrote: On 20/03/2023 11:33, Hanna Czenczek wrote: On 17.03.23 19:37, Anton Kuchin wrote: On 17/03/2023 19:52, Hanna Czenczek wrote: On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - t

Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-20 Thread Anton Kuchin
On 20/03/2023 11:33, Hanna Czenczek wrote: On 17.03.23 19:37, Anton Kuchin wrote: On 17/03/2023 19:52, Hanna Czenczek wrote: On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_

Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-20 Thread Hanna Czenczek
On 17.03.23 19:37, Anton Kuchin wrote: On 17/03/2023 19:52, Hanna Czenczek wrote: On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_VIRTIO_DEVICE) - the back-end's (virtiofsd's

Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-17 Thread Anton Kuchin
On 17/03/2023 19:52, Hanna Czenczek wrote: On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_VIRTIO_DEVICE) - the back-end's (virtiofsd's) internal state We get/set the latter

Re: [Virtio-fs] [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-17 Thread Hanna Czenczek
On 17.03.23 18:19, Anton Kuchin wrote: On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_VIRTIO_DEVICE) - the back-end's (virtiofsd's) internal state We get/set the latter via the new vhost-user operations FS_SET_STA

Re: [RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-17 Thread Anton Kuchin
On 13/03/2023 19:48, Hanna Czenczek wrote: A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_VIRTIO_DEVICE) - the back-end's (virtiofsd's) internal state We get/set the latter via the new vhost-user operations FS_SET_STATE_FD, FS_GET_STATE, and FS_SET_STATE.

[RFC 2/2] vhost-user-fs: Implement stateful migration

2023-03-13 Thread Hanna Czenczek
A virtio-fs device's VM state consists of: - the virtio device (vring) state (VMSTATE_VIRTIO_DEVICE) - the back-end's (virtiofsd's) internal state We get/set the latter via the new vhost-user operations FS_SET_STATE_FD, FS_GET_STATE, and FS_SET_STATE. Signed-off-by: Hanna Czenczek --- hw/virtio