On Thu, 6 Dec 2018 at 17:52, Yury Kotov <yury-ko...@yandex-team.ru> wrote: > > Yes, I also think that realize shout be sync. > > But may be it's better to add an 'disconnected' option to init the chardev > in disconnected state, then do the first connection with > qemu_chr_fe_wait_connected from vhost_user_blk_realize. So when > connection will be broken in realize we can try again. > What do you think about it? >
Sounds good to me. And maybe we need to add a timeout for the retrying. Thanks, Yongji