qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option


From: Yongji Xie
Subject: Re: [Qemu-devel] [PATCH v2 for-4.0 1/7] chardev: Add disconnected option for chardev socket
Date: Tue, 18 Dec 2018 21:33:16 +0800

On Tue, 18 Dec 2018 at 20:24, Marc-André Lureau
<address@hidden> wrote:
>
> Hi
>
> On Tue, Dec 18, 2018 at 2:01 PM <address@hidden> wrote:
> >
> > From: Xie Yongji <address@hidden>
> >
> > New option "disconnected" is added to init the chardev socket
> > in disconnected state. Then we can use qemu_chr_fe_wait_connected()
> > to connect when necessary. Now it would be used for unix domain
> > socket of vhost-user-blk device to support reconnect.
>
> What difference does that make if you wait for connection in
> qemu_chr_fe_wait_connected(), or during chardev setup?
>

Wait for connection in qemu_chr_fe_wait_connected() could make
it possible to start qemu before backend. Maybe we need to support
this case?

Thanks,
Yongji



reply via email to

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