qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC 00/14] vhost-user: shutdown and reconnection


From: Marc-André Lureau
Subject: Re: [Qemu-devel] [PATCH RFC 00/14] vhost-user: shutdown and reconnection
Date: Tue, 23 Feb 2016 19:00:27 +0100

Hi

On Thu, Nov 26, 2015 at 11:33 AM, Michael S. Tsirkin <address@hidden> wrote:
> I'm still not sure users actually need this.  I am inclined to think we
> should teach guests to respond to NEED_RESET status. Then to handle
> disconnect, we would
> - deactivate the disconnected backend
> - stop VM, and wait for a reconnect
> - set NEED_RESET status, and re-activate the backend
>   after guest reset

Sorry your answer came late, so my reply too ;). It may depend on the
use case, what I suggest wouldn't need to stop the VM, but merely set
the link-down status. Furthermore, how do you disconnect/deactivate
the backend cleanly? Having an explicit message for that and document
it may make things easier.

It has been a while I haven't looked at vhost-user, so I am short of
details, but I rebased this series, if there is still interest. I'll
send a RFCv2, there are a couple of worthy fixes to pick from that.

thanks

-- 
Marc-André Lureau



reply via email to

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