On Fri, Nov 7, 2025 at 3:08 PM Wafer Xie <[email protected]> wrote: > > When stopping a vhost-vdpa device, only the first queue pair is marked as > suspended, > while the remaining queues are not updated to the suspended state. > As a result, when stopping a multi-queue vhost-vdpa device, > the following error message will be printed. > > qemu-system-x86_64:vhost VQ 2 ring restore failed: -1: Operation not > permitted (1) > > qemu-system-x86_64:vhost VQ 3 ring restore failed: -1: Operation not > permitted (1) > > So move v->suspended to v->shared, and then all the vhost_vdpa devices cannot > have different suspended states. > > Fixes: 0bb302a9960a ("vdpa: add vhost_vdpa_suspend") > > Suggested-by: Eugenio Pérez <[email protected]> > Acked-by: Eugenio Pérez <[email protected]> > Signed-off-by: Wafer Xie <[email protected]> >
Acked-by: Jason Wang <[email protected]> Thanks
