[PATCH v3 9/9] vhost: Support vduse suspend feature
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Sep 29 14:13:22 CEST 2026
On 9/29/26 12:53 PM, Eugenio Pérez wrote:
> Add support for the VDUSE_F_SUSPEND feature.
>
> The suspend feature allows the driver to stop the device from processing
> the virtqueues. This ensures that the virtqueue state can be fetched
> reliably in a live migration.
>
> Signed-off-by: Eugenio Pérez <eperezma at redhat.com>
> ---
> lib/vhost/vduse.c | 42 +++++++++++++++++++++++++++++++++++++++++-
> lib/vhost/vhost.h | 1 +
> 2 files changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/lib/vhost/vduse.c b/lib/vhost/vduse.c
> index bcbd9fcd6d52..cdff4df84a84 100644
> --- a/lib/vhost/vduse.c
> +++ b/lib/vhost/vduse.c
> @@ -46,7 +46,8 @@ static const char * const vduse_reqs_str[] = {
"VDUSE_SUSPEND" entry is missing in this array.
With above comment addressed, feel free to add:
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
More information about the dev
mailing list