[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-4.0 1/6] char-socket: Enable "wait" option f

From: Yongji Xie
Subject: Re: [Qemu-devel] [PATCH for-4.0 1/6] char-socket: Enable "wait" option for client mode
Date: Thu, 6 Dec 2018 15:53:57 +0800

On Thu, 6 Dec 2018 at 15:23, Marc-André Lureau
<address@hidden> wrote:
> Hi
> On Thu, Dec 6, 2018 at 10:38 AM <address@hidden> wrote:
> >
> > From: Xie Yongji <address@hidden>
> >
> > Now we attempt to connect asynchronously for "reconnect socket"
> > during open(). But vhost-user device prefer a connected socket
> > during initialization. That means we may still need to support
> > sync connection during open() for the "reconnect socket".
> >
> > Signed-off-by: Xie Yongji <address@hidden>
> > Signed-off-by: Zhang Yu <address@hidden>
> I am not sure this makes much sense, since upon reconnect it won't
> "wait" (if I am not mistaken)

Yes, qemu won't wait when reconnecting. The "wait" here just means that
we should wait connection at first time (during open()). I'm not sure whether
reuse the "wait" option is OK here.

If no this option, current qemu will fail to initialize vhost-user-blk
device when
"reconnect" option is specified no matter the backend is running or not.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]