[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-11 Thread Jason Wang
在 2021/7/10 上午1:35, Eugenio Perez Martin 写道: On Tue, Jul 6, 2021 at 6:34 AM Jason Wang wrote: This patch introduces a new status bit STOP. This will be used by the driver to stop the device in order to safely fetch the device state (virtqueue state) from the device. This is a must for suppor

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-11 Thread Jason Wang
在 2021/7/11 上午4:40, Michael S. Tsirkin 写道: On Tue, Jul 06, 2021 at 12:33:34PM +0800, Jason Wang wrote: This patch introduces a new status bit STOP. This will be used by the driver to stop the device in order to safely fetch the device state (virtqueue state) from the device. This is a must fo

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-10 Thread Michael S. Tsirkin
On Tue, Jul 06, 2021 at 12:33:34PM +0800, Jason Wang wrote: > This patch introduces a new status bit STOP. This will be > used by the driver to stop the device in order to safely fetch the > device state (virtqueue state) from the device. > > This is a must for supporting migration. > > Signed-of

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-09 Thread Eugenio Perez Martin
On Tue, Jul 6, 2021 at 6:34 AM Jason Wang wrote: > > This patch introduces a new status bit STOP. This will be > used by the driver to stop the device in order to safely fetch the > device state (virtqueue state) from the device. > > This is a must for supporting migration. > > Signed-off-by: Jaso

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-07 Thread Jason Wang
在 2021/7/8 上午12:45, Cornelia Huck 写道: On Wed, Jul 07 2021, Jason Wang wrote: 在 2021/7/6 下午10:27, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: 在 2021/7/6 下午8:50, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: +If VIRTIO_F_STOP has been negotiated, to stop a device

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-07 Thread Cornelia Huck
On Wed, Jul 07 2021, Jason Wang wrote: > 在 2021/7/6 下午10:27, Cornelia Huck 写道: >> On Tue, Jul 06 2021, Jason Wang wrote: >> >>> 在 2021/7/6 下午8:50, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: > +If VIRTIO_F_STOP has been negotiated, to stop a device, after setting > +ST

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Jason Wang
在 2021/7/7 上午8:05, Max Gurtovoy 写道: On 7/6/2021 5:27 PM, Cornelia Huck wrote: On Tue, Jul 06 2021, Jason Wang wrote: 在 2021/7/6 下午8:50, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: +If VIRTIO_F_STOP has been negotiated, to stop a device, after setting +STOP, the driver MUST

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Jason Wang
在 2021/7/6 下午10:27, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: 在 2021/7/6 下午8:50, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: +If VIRTIO_F_STOP has been negotiated, to stop a device, after setting +STOP, the driver MUST re-read the device status to ensure the ST

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Cornelia Huck
On Tue, Jul 06 2021, Jason Wang wrote: > 在 2021/7/6 下午8:50, Cornelia Huck 写道: >> On Tue, Jul 06 2021, Jason Wang wrote: >>> +If VIRTIO_F_STOP has been negotiated, to stop a device, after setting >>> +STOP, the driver MUST re-read the device status to ensure the STOP bit >>> +is set to synchroni

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Jason Wang
在 2021/7/6 下午8:50, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: This patch introduces a new status bit STOP. This will be used by the driver to stop the device in order to safely fetch the device state (virtqueue state) from the device. This is a must for supporting migration.

[virtio-dev] Re: [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Cornelia Huck
On Tue, Jul 06 2021, Jason Wang wrote: > This patch introduces a new status bit STOP. This will be > used by the driver to stop the device in order to safely fetch the > device state (virtqueue state) from the device. > > This is a must for supporting migration. > > Signed-off-by: Jason Wang > -