public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>
Cc: passt-dev@passt.top, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH] vhost_user: Reset vq enable flag in vu_cleanup()
Date: Tue, 08 Sep 2026 17:02:02 +0200 (CEST)	[thread overview]
Message-ID: <20260908170201.33165fb6@elisabeth> (raw)
In-Reply-To: <20260903111600.3837753-1-lvivier@redhat.com>

On Thu,  3 Sep 2026 13:16:00 +0200
Laurent Vivier <lvivier@redhat.com> wrote:

> 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 <lvivier@redhat.com>
> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

Applied.

-- 
Stefano


      reply	other threads:[~2026-09-08 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03 11:16 Laurent Vivier
2026-09-08 15:02 ` Stefano Brivio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260908170201.33165fb6@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).