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 <[email protected]>
---
  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 <[email protected]>

Reply via email to