Re: [Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2019-01-15 Thread Marc-André Lureau
On Tue, Jan 15, 2019 at 7:59 AM Michael S. Tsirkin wrote: > > On Tue, Oct 02, 2018 at 01:54:25PM +0400, Marc-André Lureau wrote: > > Hi > > > > On Thu, Sep 27, 2018 at 7:37 PM Liang Li wrote: > > > > > > During live migration, when stopping vhost-user device, 'vhost_dev_stop' > > > will be called

Re: [Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2019-01-14 Thread Michael S. Tsirkin
On Tue, Oct 02, 2018 at 01:54:25PM +0400, Marc-André Lureau wrote: > Hi > > On Thu, Sep 27, 2018 at 7:37 PM Liang Li wrote: > > > > During live migration, when stopping vhost-user device, 'vhost_dev_stop' > > will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' > > and 'vhost_u

Re: [Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2018-10-29 Thread Liang Li
On Tue, Oct 02, 2018 at 01:54:25PM +0400, Marc-André Lureau wrote: > Hi > > On Thu, Sep 27, 2018 at 7:37 PM Liang Li wrote: > > > > During live migration, when stopping vhost-user device, 'vhost_dev_stop' > > will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' > > and 'vhost_u

Re: [Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2018-10-23 Thread Michael S. Tsirkin
On Tue, Oct 02, 2018 at 01:54:25PM +0400, Marc-André Lureau wrote: > Hi > > On Thu, Sep 27, 2018 at 7:37 PM Liang Li wrote: > > > > During live migration, when stopping vhost-user device, 'vhost_dev_stop' > > will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' > > and 'vhost_u

Re: [Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2018-10-02 Thread Marc-André Lureau
Hi On Thu, Sep 27, 2018 at 7:37 PM Liang Li wrote: > > During live migration, when stopping vhost-user device, 'vhost_dev_stop' > will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' > and 'vhost_user_write'. If a previous 'vhost_user_read' or 'vhost_user_write' > failed becaus

[Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2018-09-27 Thread Liang Li
During live migration, when stopping vhost-user device, 'vhost_dev_stop' will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' and 'vhost_user_write'. If a previous 'vhost_user_read' or 'vhost_user_write' failed because the vhost user backend failed, the 'CHR_EVENT_CLOSED' event w

[Qemu-devel] [PATCH] vhost-user: fix qemu crash caused by failed backend

2018-09-27 Thread Liang Li
During live migration, when stopping vhost-user device, 'vhost_dev_stop' will be called, 'vhost_dev_stop' will call a batch of 'vhost_user_read' and 'vhost_user_write'. If a previous 'vhost_user_read' or 'vhost_user_write' failed because the vhost user backend failed, the 'CHR_EVENT_CLOSED' event w