Received: from eggs.gnu.org ([209.51.188.92]:53339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJEVV-0006e3-Ap for qemu-devel@nongnu.org; Wed, 24 Apr 2019 05:48:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJEUk-0000Gy-DE for qemu-devel@nongnu.org; Wed, 24 Apr 2019 05:47:16 -0400 References: <20190416184624.15397-1-dan.streetman@canonical.com> <20190416184624.15397-2-dan.streetman@canonical.com> <9f3dac2a-15fe-8463-6aee-f6916b8d5e1c@redhat.com> From: Jason Wang Message-ID: Date: Wed, 24 Apr 2019 17:46:55 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] add VirtIONet vhost_stopped flag to prevent multiple stops List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dan Streetman Cc: =?UTF-8?Q?marcandre=2elureau=40redhat=2ecom_=3e=3e_Marc-Andr=c3=a9_Lurea?= =?UTF-8?Q?u?= , qemu-stable@nongnu.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" On 2019/4/23 =E4=B8=8B=E5=8D=884:49, Dan Streetman wrote: >> I think so if net_vhost_user_event() was called in main thread (it cal= ls >> qemu_get_current_aio_context()). > ok, I'll check that, thanks! > > I think my other patch, to remove the vhost_user_stop() call > completely from the net_vhost_user_event() handler for > CHR_EVENT_CLOSED, is still relevant; do you have thoughts on that? > I think that patch makes sense. Thanks