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

2016-03-29 Thread Yuanhan Liu
On Tue, Mar 29, 2016 at 12:52:32PM +0200, Marc-André Lureau wrote: > Hi > > On Tue, Mar 29, 2016 at 10:10 AM, Yuanhan Liu > wrote: > > Backend crash may be not that normal in production usage, it is in > > development stage. It would be handy if we can handle that as well, > > as it's a painful e

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

2016-03-29 Thread Marc-André Lureau
Hi On Tue, Mar 29, 2016 at 10:10 AM, Yuanhan Liu wrote: > Backend crash may be not that normal in production usage, it is in > development stage. It would be handy if we can handle that as well, > as it's a painful experience for me that every time I do a VM2VM test > and once my changes to backe

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

2016-03-29 Thread Yuanhan Liu
On Fri, Mar 25, 2016 at 07:00:15PM +0100, Marc-André Lureau wrote: > Hi > > On Thu, Mar 24, 2016 at 8:10 AM, Yuanhan Liu > wrote: > >> > The following series starts from the idea that the slave can request a > >> > "managed" shutdown instead and later recover (I guess the use case for > >> > this

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

2016-03-27 Thread Tetsuya Mukawa
On 2016/03/28 10:53, Tetsuya Mukawa wrote: > On 2016/03/26 3:00, Marc-André Lureau wrote: >> Hi >> >> On Thu, Mar 24, 2016 at 8:10 AM, Yuanhan Liu >> wrote: > The following series starts from the idea that the slave can request a > "managed" shutdown instead and later recover (I guess the

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

2016-03-27 Thread Tetsuya Mukawa
On 2016/03/26 3:00, Marc-André Lureau wrote: > Hi > > On Thu, Mar 24, 2016 at 8:10 AM, Yuanhan Liu > wrote: The following series starts from the idea that the slave can request a "managed" shutdown instead and later recover (I guess the use case for this is to allow for example to u

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

2016-03-25 Thread Marc-André Lureau
Hi On Thu, Mar 24, 2016 at 8:10 AM, Yuanhan Liu wrote: >> > The following series starts from the idea that the slave can request a >> > "managed" shutdown instead and later recover (I guess the use case for >> > this is to allow for example to update static dispatching/filter rules >> > etc) > >

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

2016-03-24 Thread Yuanhan Liu
On Thu, Nov 26, 2015 at 12:33:22PM +0200, Michael S. Tsirkin wrote: > On Wed, Sep 09, 2015 at 01:09:52AM +0200, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau > > > > In a previous series "Add feature to start QEMU without vhost-user > > backend", Tetsuya Mukawa proposed to allow

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

2016-03-01 Thread Michael S. Tsirkin
On Tue, Feb 23, 2016 at 07:00:27PM +0100, Marc-André Lureau wrote: > Hi > > On Thu, Nov 26, 2015 at 11:33 AM, Michael S. Tsirkin 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 > > disconnec

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

2016-02-23 Thread Marc-André Lureau
Hi On Thu, Nov 26, 2015 at 11:33 AM, Michael S. Tsirkin 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

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

2015-11-26 Thread Michael S. Tsirkin
On Wed, Sep 09, 2015 at 01:09:52AM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > In a previous series "Add feature to start QEMU without vhost-user > backend", Tetsuya Mukawa proposed to allow the vhost-user backend to > disconnect and reconnect. However, Michael Tsirkin

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

2015-09-08 Thread marcandre . lureau
From: Marc-André Lureau In a previous series "Add feature to start QEMU without vhost-user backend", Tetsuya Mukawa proposed to allow the vhost-user backend to disconnect and reconnect. However, Michael Tsirkin pointed out that you can't do that without extra care, because the guest and hyperviso