8 Sep
2026
8 Sep
'26
5:02 p.m.
On Thu, 3 Sep 2026 13:16:00 +0200
Laurent Vivier
vu_cleanup() resets most virtqueue state (started, notification, file descriptors) but does not reset the enable flag. After a QEMU disconnect and reconnect, the stale enable flag causes vu_set_vring_enable_exec() to hit its early return check (vq->enable == enable).
Reset vq->enable to false in vu_cleanup() alongside the other virtqueue state.
Signed-off-by: Laurent Vivier
Reviewed-by: David Gibson
Applied. -- Stefano