Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-12 Thread Stefan Hajnoczi
On Fri, Jan 12, 2018 at 02:53:43PM +0800, Wei Wang wrote: > On 01/09/2018 12:09 AM, Stefan Hajnoczi wrote: > > On Mon, Jan 08, 2018 at 07:22:37PM +0800, Wei Wang wrote: > > > On 01/05/2018 11:49 PM, Stefan Hajnoczi wrote: > > > > On Thu, Jan 04, 2018 at 07:15:38PM +0800, Wei Wang wrote: > > > > > O

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-11 Thread Wei Wang
On 01/09/2018 12:09 AM, Stefan Hajnoczi wrote: On Mon, Jan 08, 2018 at 07:22:37PM +0800, Wei Wang wrote: On 01/05/2018 11:49 PM, Stefan Hajnoczi wrote: On Thu, Jan 04, 2018 at 07:15:38PM +0800, Wei Wang wrote: On 01/04/2018 06:47 PM, Stefan Hajnoczi wrote: On Thu, Dec 21, 2017 at 06:01:29AM -

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-08 Thread Stefan Hajnoczi
On Mon, Jan 08, 2018 at 07:22:37PM +0800, Wei Wang wrote: > On 01/05/2018 11:49 PM, Stefan Hajnoczi wrote: > > On Thu, Jan 04, 2018 at 07:15:38PM +0800, Wei Wang wrote: > > > On 01/04/2018 06:47 PM, Stefan Hajnoczi wrote: > > > > On Thu, Dec 21, 2017 at 06:01:29AM -0500, Marc-André Lureau wrote: >

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-08 Thread Wei Wang
On 01/05/2018 11:49 PM, Stefan Hajnoczi wrote: On Thu, Jan 04, 2018 at 07:15:38PM +0800, Wei Wang wrote: On 01/04/2018 06:47 PM, Stefan Hajnoczi wrote: On Thu, Dec 21, 2017 at 06:01:29AM -0500, Marc-André Lureau wrote: I'm not going to prototype this yet, I'm working on virtio-vhost-user first

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-05 Thread Stefan Hajnoczi
On Thu, Jan 04, 2018 at 06:53:07PM +0200, Michael S. Tsirkin wrote: > On Tue, Dec 19, 2017 at 04:21:51PM +, Stefan Hajnoczi wrote: > > Hi, > > Vhost-user implementations assume the slave is already running before > > the master starts. The slave is required during virtio device > > initializat

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-05 Thread Stefan Hajnoczi
On Thu, Jan 04, 2018 at 07:15:38PM +0800, Wei Wang wrote: > On 01/04/2018 06:47 PM, Stefan Hajnoczi wrote: > > On Thu, Dec 21, 2017 at 06:01:29AM -0500, Marc-André Lureau wrote: > > > > I'm not going to prototype this yet, I'm working on virtio-vhost-user > > first, but eventually I might get back

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-04 Thread Michael S. Tsirkin
On Tue, Dec 19, 2017 at 04:21:51PM +, Stefan Hajnoczi wrote: > Hi, > Vhost-user implementations assume the slave is already running before > the master starts. The slave is required during virtio device > initialization (e.g. feature bit negotiation) and so it is simplest to > assume that the

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-04 Thread Wei Wang
On 01/04/2018 06:47 PM, Stefan Hajnoczi wrote: On Thu, Dec 21, 2017 at 06:01:29AM -0500, Marc-André Lureau wrote: I'm not going to prototype this yet, I'm working on virtio-vhost-user first, but eventually I might get back to -object vhost-user(-backend). Hi Stefan, are you implementing the g

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2018-01-04 Thread Stefan Hajnoczi
On Thu, Dec 21, 2017 at 06:01:29AM -0500, Marc-André Lureau wrote: > Hi > > - Original Message - > > Hi, > > Vhost-user implementations assume the slave is already running before > > the master starts. The slave is required during virtio device > > initialization (e.g. feature bit negotia

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2017-12-21 Thread Marc-André Lureau
Hi - Original Message - > Hi, > Vhost-user implementations assume the slave is already running before > the master starts. The slave is required during virtio device > initialization (e.g. feature bit negotiation) and so it is simplest to > assume that the master is already available and

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2017-12-20 Thread Stefan Hajnoczi
On Wed, Dec 20, 2017 at 02:45:48PM +0800, Fam Zheng wrote: > On Tue, 12/19 16:21, Stefan Hajnoczi wrote: > > Hi, > > Vhost-user implementations assume the slave is already running before > > the master starts. The slave is required during virtio device > > initialization (e.g. feature bit negotiat

Re: [Qemu-devel] vhost-user graceful connect/disconnect

2017-12-19 Thread Fam Zheng
On Tue, 12/19 16:21, Stefan Hajnoczi wrote: > Hi, > Vhost-user implementations assume the slave is already running before > the master starts. The slave is required during virtio device > initialization (e.g. feature bit negotiation) and so it is simplest to > assume that the master is already ava

[Qemu-devel] vhost-user graceful connect/disconnect

2017-12-19 Thread Stefan Hajnoczi
Hi, Vhost-user implementations assume the slave is already running before the master starts. The slave is required during virtio device initialization (e.g. feature bit negotiation) and so it is simplest to assume that the master is already available and will respond immediately to the VHOST_USER_