Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Jason Wang
On 2020/5/14 下午6:14, Maxime Coquelin wrote: On 5/14/20 9:53 AM, Jason Wang wrote: On 2020/5/14 下午3:33, Maxime Coquelin wrote: It is usefull for the Vhost-user backend to know about about the Virtio device status updates, especially when the driver sets the DRIVER_OK bit. With that informati

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
On 5/14/20 4:48 PM, Michael S. Tsirkin wrote: > On Thu, May 14, 2020 at 04:39:26PM +0200, Maxime Coquelin wrote: >> >> >> On 5/14/20 12:51 PM, Michael S. Tsirkin wrote: >>> On Thu, May 14, 2020 at 12:14:32PM +0200, Maxime Coquelin wrote: On 5/14/20 9:53 AM, Jason Wang wrote: >

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
On 5/14/20 4:20 PM, Michael S. Tsirkin wrote: > On Thu, May 14, 2020 at 04:12:32PM +0200, Maxime Coquelin wrote: >> >> >> >> On 5/14/20 12:44 PM, Michael S. Tsirkin wrote: >>> On Thu, May 14, 2020 at 09:33:32AM +0200, Maxime Coquelin wrote: It is usefull for the Vhost-user backend to know >

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
On 5/14/20 12:51 PM, Michael S. Tsirkin wrote: > On Thu, May 14, 2020 at 12:14:32PM +0200, Maxime Coquelin wrote: >> >> >> On 5/14/20 9:53 AM, Jason Wang wrote: >>> >>> On 2020/5/14 下午3:33, Maxime Coquelin wrote: It is usefull for the Vhost-user backend to know about about the Virtio d

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Michael S. Tsirkin
On Thu, May 14, 2020 at 04:39:26PM +0200, Maxime Coquelin wrote: > > > On 5/14/20 12:51 PM, Michael S. Tsirkin wrote: > > On Thu, May 14, 2020 at 12:14:32PM +0200, Maxime Coquelin wrote: > >> > >> > >> On 5/14/20 9:53 AM, Jason Wang wrote: > >>> > >>> On 2020/5/14 下午3:33, Maxime Coquelin wrote: >

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Michael S. Tsirkin
On Thu, May 14, 2020 at 04:12:32PM +0200, Maxime Coquelin wrote: > > > > On 5/14/20 12:44 PM, Michael S. Tsirkin wrote: > > On Thu, May 14, 2020 at 09:33:32AM +0200, Maxime Coquelin wrote: > >> It is usefull for the Vhost-user backend to know > >> about about the Virtio device status updates, >

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
On 5/14/20 12:44 PM, Michael S. Tsirkin wrote: > On Thu, May 14, 2020 at 09:33:32AM +0200, Maxime Coquelin wrote: >> It is usefull for the Vhost-user backend to know >> about about the Virtio device status updates, >> especially when the driver sets the DRIVER_OK bit. >> >> With that informatio

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Michael S. Tsirkin
On Thu, May 14, 2020 at 12:14:32PM +0200, Maxime Coquelin wrote: > > > On 5/14/20 9:53 AM, Jason Wang wrote: > > > > On 2020/5/14 下午3:33, Maxime Coquelin wrote: > >> It is usefull for the Vhost-user backend to know > >> about about the Virtio device status updates, > >> especially when the drive

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Michael S. Tsirkin
On Thu, May 14, 2020 at 09:33:32AM +0200, Maxime Coquelin wrote: > It is usefull for the Vhost-user backend to know > about about the Virtio device status updates, > especially when the driver sets the DRIVER_OK bit. > > With that information, no more need to do hazardous > assumptions on when the

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
On 5/14/20 9:53 AM, Jason Wang wrote: > > On 2020/5/14 下午3:33, Maxime Coquelin wrote: >> It is usefull for the Vhost-user backend to know >> about about the Virtio device status updates, >> especially when the driver sets the DRIVER_OK bit. >> >> With that information, no more need to do hazard

Re: [PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Jason Wang
On 2020/5/14 下午3:33, Maxime Coquelin wrote: It is usefull for the Vhost-user backend to know about about the Virtio device status updates, especially when the driver sets the DRIVER_OK bit. With that information, no more need to do hazardous assumptions on when the driver is done with the devi

[PATCH] vhost-user: add support for VHOST_USER_SET_STATUS

2020-05-14 Thread Maxime Coquelin
It is usefull for the Vhost-user backend to know about about the Virtio device status updates, especially when the driver sets the DRIVER_OK bit. With that information, no more need to do hazardous assumptions on when the driver is done with the device configuration. Signed-off-by: Maxime Coqueli