Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-03-09 Thread Jason Wang
On 2020/3/10 下午2:24, Michael S. Tsirkin wrote: On Tue, Mar 10, 2020 at 11:22:00AM +0800, Jason Wang wrote: On 2020/3/9 下午6:13, Michael S. Tsirkin wrote: On Mon, Mar 09, 2020 at 04:50:43PM +0800, Jason Wang wrote: On 2020/3/9 下午3:38, Michael S. Tsirkin wrote: On Fri, Mar 06, 2020 at 10:40

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-03-18 Thread Jason Wang
eport dirty pages (bitmap or other), and qemu can sync them from vhost. Thanks On Tue, Mar 10, 2020 at 2:39 AM Jason Wang <mailto:jasow...@redhat.com>> wrote: On 2020/3/10 下午2:24, Michael S. Tsirkin wrote: > On Tue, Mar 10, 2020 at 11:22:00AM +0800, Jason Wang wrote:

[virtio-dev] Doorbell mapping of vDPA

2020-04-07 Thread Jason Wang
Hi all: To get native performance of VF, we need to map doorbell to guest to avoid unnecessary vmexit. In order to do this, we will launch qemu with page-per-vq=on. This means the each doorbell register should be located at the beginning of 4K page and does not share the page with other regis

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-08 Thread Jason Wang
- Original Message - > another question on vDPA vs vendor specific driver portion... > > Are the subsystem vendor & device IDs to be different from the primary (Red > Hat) versions as there has to be a way for a vendor specific driver to > "see" its device. Yes, any kinds of (PCI)device c

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-08 Thread Jason Wang
- Original Message - > On Tue, Apr 7, 2020 at 12:28 PM Rob Miller wrote: > > > > Does this mean that SW takes over the datapath during LM? > > "Takes over" sounds to me like solving the problem using failover to > switch to a software interface to do the packet forwarding during > migra

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-09 Thread Jason Wang
On 2020/4/10 上午5:06, Michael S. Tsirkin wrote: On Tue, Apr 07, 2020 at 11:52:46AM +0200, Eugenio Perez Martin wrote: Hi! So, from the previous mails, it seems that monitoring the used ring (and the packed descriptors) is a good first step in that direction, as DPDK did. This way, the device d

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-13 Thread Jason Wang
On 2020/4/13 下午9:30, Rob Miller wrote: On Mon, Apr 13, 2020 at 8:16 AM Eugenio Perez Martin mailto:epere...@redhat.com>> wrote: On Fri, Apr 10, 2020 at 4:40 AM Jason Wang mailto:jasow...@redhat.com>> wrote: > > > On 2020/4/10 上午5:06, Michael S. Tsir

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-13 Thread Jason Wang
On 2020/4/13 下午9:30, Rob Miller wrote: On Mon, Apr 13, 2020 at 8:16 AM Eugenio Perez Martin mailto:epere...@redhat.com>> wrote: On Fri, Apr 10, 2020 at 4:40 AM Jason Wang mailto:jasow...@redhat.com>> wrote: > > > On 2020/4/10 上午5:06, Michael S. Tsir

Re: [virtio-dev] Dirty Page Tracking (DPT)

2020-04-13 Thread Jason Wang
On 2020/4/13 下午8:15, Eugenio Perez Martin wrote: On Fri, Apr 10, 2020 at 4:40 AM Jason Wang wrote: On 2020/4/10 上午5:06, Michael S. Tsirkin wrote: On Tue, Apr 07, 2020 at 11:52:46AM +0200, Eugenio Perez Martin wrote: Hi! So, from the previous mails, it seems that monitoring the used ring

[virtio-dev] Re: Doorbell mapping of vDPA

2020-04-15 Thread Jason Wang
On 2020/4/7 下午3:55, Jason Wang wrote: Hi all: To get native performance of VF, we need to map doorbell to guest to avoid unnecessary vmexit. In order to do this, we will launch qemu with page-per-vq=on. This means the each doorbell register should be located at the beginning of 4K page and

[virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-16 Thread Jason Wang
On 2020/4/14 下午9:12, Vitaly Mireyno wrote: -Original Message- From: virtio-networking-boun...@redhat.com On Behalf Of Jason Wang Sent: Tuesday, 7 April, 2020 10:56 To: virtio-network...@redhat.com; Virtio-Dev Cc: Michael S. Tsirkin Subject: [Virtio-networking] Doorbell mapping of

[virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-16 Thread Jason Wang
On 2020/4/15 上午12:20, Michael S. Tsirkin wrote: On Tue, Apr 14, 2020 at 01:12:51PM +, Vitaly Mireyno wrote: -Original Message- From: virtio-networking-boun...@redhat.com On Behalf Of Jason Wang Sent: Tuesday, 7 April, 2020 10:56 To: virtio-network...@redhat.com; Virtio-Dev Cc

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-16 Thread Jason Wang
On 2020/4/17 下午12:19, Jason Wang wrote: On 2020/4/15 上午12:20, Michael S. Tsirkin wrote: On Tue, Apr 14, 2020 at 01:12:51PM +, Vitaly Mireyno wrote: -Original Message- From: virtio-networking-boun...@redhat.com On Behalf Of Jason Wang Sent: Tuesday, 7 April, 2020 10:56 To

[virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-17 Thread Jason Wang
On 2020/4/17 下午2:37, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 12:19:43PM +0800, Jason Wang wrote: On 2020/4/15 上午12:20, Michael S. Tsirkin wrote: On Tue, Apr 14, 2020 at 01:12:51PM +, Vitaly Mireyno wrote: -Original Message- From: virtio-networking-boun...@redhat.com

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-17 Thread Jason Wang
On 2020/4/17 下午2:39, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 12:22:04PM +0800, Jason Wang wrote: On 2020/4/17 下午12:19, Jason Wang wrote: On 2020/4/15 上午12:20, Michael S. Tsirkin wrote: On Tue, Apr 14, 2020 at 01:12:51PM +, Vitaly Mireyno wrote: -Original Message- From

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-17 Thread Jason Wang
On 2020/4/17 下午5:37, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 05:31:20PM +0800, Jason Wang wrote: On 2020/4/17 下午2:39, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 12:22:04PM +0800, Jason Wang wrote: On 2020/4/17 下午12:19, Jason Wang wrote: On 2020/4/15 上午12:20, Michael S

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-17 Thread Jason Wang
On 2020/4/17 下午6:06, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 05:59:29PM +0800, Jason Wang wrote: On 2020/4/17 下午5:37, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 05:31:20PM +0800, Jason Wang wrote: On 2020/4/17 下午2:39, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 12:22

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-19 Thread Jason Wang
On 2020/4/17 下午7:00, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 06:25:30PM +0800, Jason Wang wrote: On 2020/4/17 下午6:06, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 05:59:29PM +0800, Jason Wang wrote: On 2020/4/17 下午5:37, Michael S. Tsirkin wrote: On Fri, Apr 17, 2020 at 05:31

Re: [virtio-dev] Re: [Virtio-networking] Doorbell mapping of vDPA

2020-04-19 Thread Jason Wang
On 2020/4/17 下午7:00, Michael S. Tsirkin wrote: Two more questions. 1) If the doorbell of control vq shares 64K pages with other doorbell, then we can't intercept the control vq doorbell by software. And if hardware requires doorbell e.g. at offset 0x10 in the page, we can't migrate to a devic

[virtio-dev] Re: [RFC/PATCH 0/1] virtio_mmio: hypervisor specific interfaces for MMIO

2020-04-30 Thread Jason Wang
On 2020/4/30 下午6:07, Michael S. Tsirkin wrote: On Thu, Apr 30, 2020 at 03:32:55PM +0530, Srivatsa Vaddagiri wrote: The Type-1 hypervisor we are dealing with does not allow for MMIO transport. How about PCI then? Or maybe you can use virtio-vdpa. Thanks -

[virtio-dev] queue_enable vs QueueReady

2020-05-28 Thread Jason Wang
Hi: I found ambiguity in the virtio specification: In PCI part, it describes the queue_enable as: The driver uses this to selectively prevent the device from executing requests from this virtqueue. 1 - enabled; 0 - disabled. In MMIO part, it describes the QueueReady as: Writing one (0x1) to

Re: [virtio-dev] queue_enable vs QueueReady

2020-05-28 Thread Jason Wang
On 2020/5/28 下午10:00, Stefan Hajnoczi wrote: On Thu, May 28, 2020 at 09:06:36PM +0800, Jason Wang wrote: Hi: I found ambiguity in the virtio specification: In PCI part, it describes the queue_enable as: The driver uses this to selectively prevent the device from executing requests from

Re: [virtio-dev] Re: [PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap

2020-06-01 Thread Jason Wang
page - trap the control virtqueue, (don't do mmap for control vq) Thanks Rob Miller rob.mil...@broadcom.com <mailto:rob.mil...@broadcom.com> (919)721-3339 On Fri, May 29, 2020 at 4:03 AM Jason Wang <mailto:jasow...@redhat.com>> wrote: Currently the doorbell is relay

Re: [virtio-dev] Re: queue_enable vs QueueReady

2020-06-01 Thread Jason Wang
On 2020/6/1 下午2:01, Michael S. Tsirkin wrote: On Thu, May 28, 2020 at 09:06:36PM +0800, Jason Wang wrote: Hi: I found ambiguity in the virtio specification: In PCI part, it describes the queue_enable as: The driver uses this to selectively prevent the device from executing requests from

Re: [virtio-dev] Re: queue_enable vs QueueReady

2020-06-01 Thread Jason Wang
On 2020/6/2 下午12:20, Michael S. Tsirkin wrote: On Tue, Jun 02, 2020 at 10:57:19AM +0800, Jason Wang wrote: On 2020/6/1 下午2:01, Michael S. Tsirkin wrote: On Thu, May 28, 2020 at 09:06:36PM +0800, Jason Wang wrote: Hi: I found ambiguity in the virtio specification: In PCI part, it describes

Re: [virtio-dev] Packed ring only devices clarification

2021-01-29 Thread Jason Wang
On 2021/1/29 下午4:38, Maxime Coquelin wrote: Hello, In the Virtqueues section of the Virtio specification [0], it is mentioned that: " Every driver and device supports either the Packed or the Split Virtqueue format, or both. " However, it seems there is no way to differentiate whether the de

Re: [virtio-dev] Packed ring only devices clarification

2021-01-31 Thread Jason Wang
On 2021/1/29 下午5:14, Maxime Coquelin wrote: On 1/29/21 10:04 AM, Jason Wang wrote: On 2021/1/29 下午4:38, Maxime Coquelin wrote: Hello, In the Virtqueues section of the Virtio specification [0], it is mentioned that: " Every driver and device supports either the Packed or the

[virtio-dev] Re: Packed ring only devices clarification

2021-01-31 Thread Jason Wang
On 2021/1/29 下午11:58, Michael S. Tsirkin wrote: On Fri, Jan 29, 2021 at 09:38:25AM +0100, Maxime Coquelin wrote: Hello, In the Virtqueues section of the Virtio specification [0], it is mentioned that: " Every driver and device supports either the Packed or the Split Virtqueue format, or both

[virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Jason Wang
On 2021/2/23 下午5:25, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 09:09:28AM -0800, Si-Wei Liu wrote: On 2/21/2021 8:14 PM, Jason Wang wrote: On 2021/2/19 7:54 下午, Si-Wei Liu wrote: Commit 452639a64ad8 ("vdpa: make sure set_features is invoked for legacy") made an exception

[virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Jason Wang
On 2021/2/23 6:01 下午, Michael S. Tsirkin wrote: On Tue, Feb 23, 2021 at 05:46:20PM +0800, Jason Wang wrote: On 2021/2/23 下午5:25, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 09:09:28AM -0800, Si-Wei Liu wrote: On 2/21/2021 8:14 PM, Jason Wang wrote: On 2021/2/19 7:54 下午, Si-Wei Liu

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Jason Wang
On 2021/2/23 6:04 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 17:46:20 +0800 Jason Wang wrote: On 2021/2/23 下午5:25, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 09:09:28AM -0800, Si-Wei Liu wrote: On 2/21/2021 8:14 PM, Jason Wang wrote: On 2021/2/19 7:54 下午, Si-Wei Liu wrote

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-24 Thread Jason Wang
On 2021/2/23 6:58 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 18:31:07 +0800 Jason Wang wrote: On 2021/2/23 6:04 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 17:46:20 +0800 Jason Wang wrote: On 2021/2/23 下午5:25, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 09:09:28AM -0800, Si

[virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-24 Thread Jason Wang
On 2021/2/23 6:17 下午, Jason Wang wrote: On 2021/2/23 6:01 下午, Michael S. Tsirkin wrote: On Tue, Feb 23, 2021 at 05:46:20PM +0800, Jason Wang wrote: On 2021/2/23 下午5:25, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 09:09:28AM -0800, Si-Wei Liu wrote: On 2/21/2021 8:14 PM, Jason Wang

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-24 Thread Jason Wang
On 2021/2/24 7:12 下午, Cornelia Huck wrote: On Wed, 24 Feb 2021 17:29:07 +0800 Jason Wang wrote: On 2021/2/23 6:58 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 18:31:07 +0800 Jason Wang wrote: On 2021/2/23 6:04 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 17:46:20 +0800 Jason Wang

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-26 Thread Jason Wang
On 2021/2/26 2:53 上午, Michael S. Tsirkin wrote: On Thu, Feb 25, 2021 at 12:36:07PM +0800, Jason Wang wrote: On 2021/2/24 7:12 下午, Cornelia Huck wrote: On Wed, 24 Feb 2021 17:29:07 +0800 Jason Wang wrote: On 2021/2/23 6:58 下午, Cornelia Huck wrote: On Tue, 23 Feb 2021 18:31:07 +0800 Jason

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-28 Thread Jason Wang
On 2021/3/1 5:25 上午, Michael S. Tsirkin wrote: On Fri, Feb 26, 2021 at 04:19:16PM +0800, Jason Wang wrote: On 2021/2/26 2:53 上午, Michael S. Tsirkin wrote: On Thu, Feb 25, 2021 at 12:36:07PM +0800, Jason Wang wrote: On 2021/2/24 7:12 下午, Cornelia Huck wrote: On Wed, 24 Feb 2021 17:29:07

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-03-02 Thread Jason Wang
On 2021/3/2 8:08 下午, Cornelia Huck wrote: On Mon, 1 Mar 2021 11:51:08 +0800 Jason Wang wrote: On 2021/3/1 5:25 上午, Michael S. Tsirkin wrote: On Fri, Feb 26, 2021 at 04:19:16PM +0800, Jason Wang wrote: On 2021/2/26 2:53 上午, Michael S. Tsirkin wrote: Confused. What is wrong with the above

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-03-04 Thread Jason Wang
On 2021/3/3 4:29 下午, Cornelia Huck wrote: On Wed, 3 Mar 2021 12:01:01 +0800 Jason Wang wrote: On 2021/3/2 8:08 下午, Cornelia Huck wrote: On Mon, 1 Mar 2021 11:51:08 +0800 Jason Wang wrote: On 2021/3/1 5:25 上午, Michael S. Tsirkin wrote: On Fri, Feb 26, 2021 at 04:19:16PM +0800, Jason

Re: [virtio-dev] Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-03-04 Thread Jason Wang
On 2021/3/4 9:50 下午, Cornelia Huck wrote: On Thu, 4 Mar 2021 16:24:16 +0800 Jason Wang wrote: On 2021/3/3 4:29 下午, Cornelia Huck wrote: On Wed, 3 Mar 2021 12:01:01 +0800 Jason Wang wrote: On 2021/3/2 8:08 下午, Cornelia Huck wrote: On Mon, 1 Mar 2021 11:51:08 +0800 Jason Wang wrote

[virtio-dev] [PATCH V2 0/2] Vitqueue State Synchronization

2021-07-05 Thread Jason Wang
ueue state - allow the device to have its specifc way to save and restore extra virtqueue state - rename DEVICE_STOPPED to STOP - various other tweaks Jason Wang (2): virtio: introduce virtqueue state as basic facility virtio: introduce STOP status bit content

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

2021-07-05 Thread Jason Wang
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 --- content.tex | 69

[virtio-dev] [PATCH V2 1/2] virtio: introduce virtqueue state as basic facility

2021-07-05 Thread Jason Wang
devices that is required to set and get the requests that are being processed by the device. I leave such API to be device specific. This facility could be used by both migration and device diagnostic. Signed-off-by: Jason Wang --- content.tex | 117

[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 1/2] virtio: introduce virtqueue state as basic facility

2021-07-06 Thread Jason Wang
在 2021/7/7 上午1:09, Eugenio Perez Martin 写道: On Tue, Jul 6, 2021 at 11:32 AM Michael S. Tsirkin wrote: On Tue, Jul 06, 2021 at 12:33:33PM +0800, Jason Wang wrote: This patch adds new device facility to save and restore virtqueue state. The virtqueue state is split into two parts: - The

[virtio-dev] Re: [PATCH V2 1/2] virtio: introduce virtqueue state as basic facility

2021-07-06 Thread Jason Wang
在 2021/7/7 上午3:08, Michael S. Tsirkin 写道: On Tue, Jul 06, 2021 at 07:09:10PM +0200, Eugenio Perez Martin wrote: On Tue, Jul 6, 2021 at 11:32 AM Michael S. Tsirkin wrote: On Tue, Jul 06, 2021 at 12:33:33PM +0800, Jason Wang wrote: This patch adds new device facility to save and restore

[virtio-dev] Re: [PATCH V2 1/2] virtio: introduce virtqueue state as basic facility

2021-07-06 Thread Jason Wang
在 2021/7/7 上午7:49, Max Gurtovoy 写道: On 7/6/2021 10:08 PM, Michael S. Tsirkin wrote: On Tue, Jul 06, 2021 at 07:09:10PM +0200, Eugenio Perez Martin wrote: On Tue, Jul 6, 2021 at 11:32 AM Michael S. Tsirkin wrote: On Tue, Jul 06, 2021 at 12:33:33PM +0800, Jason Wang wrote: This patch adds

[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

[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: [virtio-comment] [PATCH V2 2/2] virtio: introduce STOP status bit

2021-07-06 Thread Jason Wang
在 2021/7/6 下午5:24, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) 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

[virtio-dev] Re: [PATCH V2 1/2] virtio: introduce virtqueue state as basic facility

2021-07-06 Thread Jason Wang
在 2021/7/6 下午8:27, Cornelia Huck 写道: On Tue, Jul 06 2021, Jason Wang wrote: This patch adds new device facility to save and restore virtqueue state. The virtqueue state is split into two parts: - The available state: The state that is used for read the next available buffer. - The used

[virtio-dev] [PATCH] virtio-pci: implement VIRTIO_F_RING_STATE

2021-07-06 Thread Jason Wang
This patch is a follow up for the virtqueue state synchronization series to implement VIRTIO_F_RING_STATE via a dedicated capability for PCI transport. With the help of the STOP status bit, the virtqueue state synchronization for PCI should be self contained. Signed-off-by: Jason Wang

[virtio-dev] Re: [PATCH V2 1/2] virtio: introduce virtqueue state as basic facility

2021-07-06 Thread Jason Wang
在 2021/7/7 上午10:42, Jason Wang 写道: 在 2021/7/7 上午3:08, Michael S. Tsirkin 写道: On Tue, Jul 06, 2021 at 07:09:10PM +0200, Eugenio Perez Martin wrote: On Tue, Jul 6, 2021 at 11:32 AM Michael S. Tsirkin wrote: On Tue, Jul 06, 2021 at 12:33:33PM +0800, Jason Wang wrote: This patch adds new

[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

[virtio-dev] Re: [PATCH] virtio-pci: implement VIRTIO_F_RING_STATE

2021-07-11 Thread Jason Wang
在 2021/7/9 下午7:06, Cornelia Huck 写道: On Wed, Jul 07 2021, Jason Wang wrote: This patch is a follow up for the virtqueue state synchronization series to implement VIRTIO_F_RING_STATE via a dedicated capability for PCI transport. With the help of the STOP status bit, the virtqueue state

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

2021-07-11 Thread Jason Wang
在 2021/7/10 上午1:23, Eugenio Perez Martin 写道: If I understand correctly, this is all driven from the driver inside the guest, so for this to work the guest must be running and already have initialised the driver. Yes. As I see it, the feature can be driven entirely by the VMM as long as i

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

2021-07-11 Thread Jason Wang
在 2021/7/11 上午4:36, Michael S. Tsirkin 写道: On Fri, Jul 09, 2021 at 07:23:33PM +0200, Eugenio Perez Martin wrote: If I understand correctly, this is all driven from the driver inside the guest, so for this to work the guest must be running and already have initialised the driver. Yes. As

[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

[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

[virtio-dev] Re: [PATCH V2 0/2] Vitqueue State Synchronization

2021-07-12 Thread Jason Wang
在 2021/7/12 下午6:12, Stefan Hajnoczi 写道: On Tue, Jul 06, 2021 at 12:33:32PM +0800, Jason Wang wrote: Hi All: This is an updated version to implement virtqueue state synchronization which is a must for the migration support. The first patch introduces virtqueue states as a new basic facility

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

2021-07-12 Thread Jason Wang
在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: On Mon, Jul 12, 2021 at 12:00:39PM +0800, Jason Wang wrote: 在 2021/7/11 上午4:36, Michael S. Tsirkin 写道: On Fri, Jul 09, 2021 at 07:23:33PM +0200, Eugenio Perez Martin wrote: If I understand correctly, this is all driven from the driver inside the

[virtio-dev] Re: [PATCH] virtio-pci: implement VIRTIO_F_RING_STATE

2021-07-12 Thread Jason Wang
在 2021/7/12 下午6:29, Stefan Hajnoczi 写道: On Wed, Jul 07, 2021 at 12:34:41PM +0800, Jason Wang wrote: This patch is a follow up for the virtqueue state synchronization series to implement VIRTIO_F_RING_STATE via a dedicated capability for PCI transport. With the help of the STOP status bit

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

2021-07-13 Thread Jason Wang
在 2021/7/13 下午4:19, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: When migrating a guest with many VIRTIO devices a busy waiting approach extends downtime if implemented sequentially (stopping one device at a time). Well. You need some

[virtio-dev] Re: [PATCH V2 0/2] Vitqueue State Synchronization

2021-07-13 Thread Jason Wang
在 2021/7/13 下午6:30, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 11:08:28AM +0800, Jason Wang wrote: 在 2021/7/12 下午6:12, Stefan Hajnoczi 写道: On Tue, Jul 06, 2021 at 12:33:32PM +0800, Jason Wang wrote: Hi All: This is an updated version to implement virtqueue state synchronization which is a

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

2021-07-13 Thread Jason Wang
在 2021/7/13 下午6:00, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 11:27:03AM +0800, Jason Wang wrote: 在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: On Mon, Jul 12, 2021 at 12:00:39PM +0800, Jason Wang wrote: 在 2021/7/11 上午4:36, Michael S. Tsirkin 写道: On Fri, Jul 09, 2021 at 07:23:33PM +0200

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

2021-07-13 Thread Jason Wang
在 2021/7/13 下午7:31, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/13 下午4:19, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: When migrating a guest with many VIRTIO devices a busy waiting approach extends downtime if

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

2021-07-13 Thread Jason Wang
在 2021/7/13 下午8:28, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/13 下午7:31, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/13 下午4:19, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: When

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

2021-07-14 Thread Jason Wang
在 2021/7/14 下午2:20, Cornelia Huck 写道: On Wed, Jul 14 2021, Jason Wang wrote: 在 2021/7/13 下午8:28, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/13 下午7:31, Cornelia Huck 写道: On Tue, Jul 13 2021, Jason Wang wrote: 在 2021/7/13 下午4:19, Cornelia Huck 写道: On Tue, Jul

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

2021-07-14 Thread Jason Wang
在 2021/7/14 下午5:53, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 08:16:35PM +0800, Jason Wang wrote: 在 2021/7/13 下午6:00, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 11:27:03AM +0800, Jason Wang wrote: 在 2021/7/12 下午5:57, Stefan Hajnoczi 写道: On Mon, Jul 12, 2021 at 12:00:39PM +0800, Jason

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

2021-07-14 Thread Jason Wang
在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason Wang wrote: 在 2021/7/14 下午5:53, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 08:16:35PM +0800, Jason Wang wrote: 在 2021/7/13 下午6:00, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 11:27:03AM +0800, Jason

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

2021-07-14 Thread Jason Wang
在 2021/7/15 上午12:22, Max Gurtovoy 写道: On 7/14/2021 6:07 PM, Stefan Hajnoczi wrote: It requires much more works than the simple virtqueue interface: (the main issues is that the function is not self-contained in a single function) 1) how to interact with the existing device status state mach

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

2021-07-14 Thread Jason Wang
在 2021/7/14 下午5:24, Cornelia Huck 写道: On Wed, Jul 14 2021, Jason Wang wrote: 在 2021/7/14 下午2:20, Cornelia Huck 写道: On Wed, Jul 14 2021, Jason Wang wrote: So I had a look at how reset is described for ccw: " In order to reset a device, a driver sends the CCW_CMD_VDEV_RESET co

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

2021-07-15 Thread Jason Wang
在 2021/7/15 下午5:16, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason Wang wrote: And as I've stated several times, virtqueue is the interface or transport which ca

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

2021-07-15 Thread Jason Wang
在 2021/7/15 下午5:26, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:38:55AM +0800, Jason Wang wrote: 在 2021/7/15 上午12:22, Max Gurtovoy 写道: On 7/14/2021 6:07 PM, Stefan Hajnoczi wrote: It requires much more works than the simple virtqueue interface: (the main issues is that the function is

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

2021-07-15 Thread Jason Wang
在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason Wang wrote: 在 2021/7/14 下午5:53, Stefan Hajnoczi 写道: On Tue, Jul 13, 2021 at 08:16:35PM +0800, Jason

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

2021-07-15 Thread Jason Wang
在 2021/7/16 上午5:18, Michael S. Tsirkin 写道: On Thu, Jul 15, 2021 at 09:38:55AM +0800, Jason Wang wrote: 在 2021/7/15 上午12:22, Max Gurtovoy 写道: On 7/14/2021 6:07 PM, Stefan Hajnoczi wrote: It requires much more works than the simple virtqueue interface: (the main issues is that the function is

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

2021-07-15 Thread Jason Wang
在 2021/7/16 上午10:03, Jason Wang 写道: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason Wang wrote: 在 2021/7/14 下午5:53, Stefan Hajnoczi 写道: On Tue, Jul

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

2021-07-19 Thread Jason Wang
在 2021/7/19 下午8:08, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 09:48:43AM +0800, Jason Wang wrote: 在 2021/7/15 下午5:26, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:38:55AM +0800, Jason Wang wrote: 在 2021/7/15 上午12:22, Max Gurtovoy 写道: On 7/14/2021 6:07 PM, Stefan Hajnoczi wrote: It

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

2021-07-19 Thread Jason Wang
在 2021/7/19 下午8:18, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 09:44:26AM +0800, Jason Wang wrote: 在 2021/7/15 下午5:16, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason

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

2021-07-19 Thread Jason Wang
在 2021/7/19 下午8:43, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 10:03:17AM +0800, Jason Wang wrote: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul 14, 2021 at 06:29:28PM +0800, Jason

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

2021-07-19 Thread Jason Wang
在 2021/7/19 下午8:45, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 11:53:13AM +0800, Jason Wang wrote: 在 2021/7/16 上午10:03, Jason Wang 写道: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7/14 下午11:07, Stefan Hajnoczi 写道: On Wed, Jul

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

2021-07-20 Thread Jason Wang
在 2021/7/20 下午4:50, Stefan Hajnoczi 写道: On Tue, Jul 20, 2021 at 11:04:55AM +0800, Jason Wang wrote: 在 2021/7/19 下午8:45, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 11:53:13AM +0800, Jason Wang wrote: 在 2021/7/16 上午10:03, Jason Wang 写道: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul

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

2021-07-20 Thread Jason Wang
在 2021/7/20 下午6:19, Stefan Hajnoczi 写道: On Tue, Jul 20, 2021 at 11:02:42AM +0800, Jason Wang wrote: 在 2021/7/19 下午8:43, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 10:03:17AM +0800, Jason Wang wrote: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason

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

2021-07-20 Thread Jason Wang
在 2021/7/20 下午6:31, Cornelia Huck 写道: On Fri, Jul 16 2021, Jason Wang wrote: 在 2021/7/15 下午5:16, Stefan Hajnoczi 写道: Stopping devices sequentially increases migration downtime, so I think the interface should encourage concurrently stopping multiple devices. I think you and Cornelia

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

2021-07-20 Thread Jason Wang
在 2021/7/20 下午9:09, Max Gurtovoy 写道: On 7/20/2021 3:57 PM, Stefan Hajnoczi wrote: On Tue, Jul 20, 2021 at 03:27:00PM +0300, Max Gurtovoy wrote: On 7/20/2021 6:02 AM, Jason Wang wrote: 在 2021/7/19 下午8:43, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 10:03:17AM +0800, Jason Wang wrote: 在

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

2021-07-20 Thread Jason Wang
在 2021/7/20 下午8:27, Max Gurtovoy 写道: On 7/20/2021 6:02 AM, Jason Wang wrote: 在 2021/7/19 下午8:43, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 10:03:17AM +0800, Jason Wang wrote: 在 2021/7/15 下午6:01, Stefan Hajnoczi 写道: On Thu, Jul 15, 2021 at 09:35:13AM +0800, Jason Wang wrote: 在 2021/7

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

2021-07-21 Thread Jason Wang
在 2021/7/21 下午7:43, Max Gurtovoy 写道: Right, vp_vdpa fit naturally for this. But I don't see the much value of a dedicated migration driver, do you? I don't know how VDPA device advertise migration capability to QEMU. This is done by vhost-vDPA via advertising vhost feature VHOST_F_LOG

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

2021-07-21 Thread Jason Wang
在 2021/7/21 下午6:42, Stefan Hajnoczi 写道: On Wed, Jul 21, 2021 at 10:52:15AM +0800, Jason Wang wrote: 在 2021/7/20 下午6:19, Stefan Hajnoczi 写道: On Tue, Jul 20, 2021 at 11:02:42AM +0800, Jason Wang wrote: 在 2021/7/19 下午8:43, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 10:03:17AM +0800, Jason

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

2021-07-22 Thread Jason Wang
在 2021/7/21 下午6:20, Stefan Hajnoczi 写道: On Wed, Jul 21, 2021 at 10:29:17AM +0800, Jason Wang wrote: 在 2021/7/20 下午4:50, Stefan Hajnoczi 写道: On Tue, Jul 20, 2021 at 11:04:55AM +0800, Jason Wang wrote: 在 2021/7/19 下午8:45, Stefan Hajnoczi 写道: On Fri, Jul 16, 2021 at 11:53:13AM +0800, Jason

Re: [virtio-dev] [PATCH] virtio-mmio: Specify wait needed in driver during reset

2021-07-22 Thread Jason Wang
在 2021/7/22 下午5:19, Srivatsa Vaddagiri 写道: This is following up on the discussion we had earlier on MMIO reset behavior: https://lists.oasis-open.org/archives/virtio-dev/202107/msg00012.html Suggesting below change to

Re: [virtio-dev] [PATCH] virtio-mmio: Specify wait needed in driver during reset

2021-07-22 Thread Jason Wang
在 2021/7/22 下午6:57, Cornelia Huck 写道: On Thu, Jul 22 2021, Jason Wang wrote: 在 2021/7/22 下午5:19, Srivatsa Vaddagiri 写道: This is following up on the discussion we had earlier on MMIO reset behavior: https://lists.oasis-open.org/archives/virtio-dev/202107/msg00012.html <https://lists.oa

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

2021-07-22 Thread Jason Wang
在 2021/7/22 下午6:24, Stefan Hajnoczi 写道: On Thu, Jul 22, 2021 at 03:33:10PM +0800, Jason Wang wrote: 在 2021/7/21 下午6:20, Stefan Hajnoczi 写道: On Wed, Jul 21, 2021 at 10:29:17AM +0800, Jason Wang wrote: 在 2021/7/20 下午4:50, Stefan Hajnoczi 写道: On Tue, Jul 20, 2021 at 11:04:55AM +0800, Jason

[virtio-dev] Re: [PATCH v1] virtio-mmio: Specify wait needed in driver during reset

2021-08-01 Thread Jason Wang
在 2021/7/27 上午3:03, Michael S. Tsirkin 写道: On Mon, Jul 26, 2021 at 02:17:08PM +, Srivatsa Vaddagiri wrote: On Mon, Jul 26, 2021 at 01:36:56PM +0200, Cornelia Huck wrote: On Mon, Jul 26 2021, Srivatsa Vaddagiri wrote: +indicated by a read of \field{Status} returning 0. Such a device MUS

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

2021-08-02 Thread Jason Wang
在 2021/7/26 下午11:07, Stefan Hajnoczi 写道: On Thu, Jul 22, 2021 at 09:08:58PM +0800, Jason Wang wrote: 在 2021/7/22 下午6:24, Stefan Hajnoczi 写道: On Thu, Jul 22, 2021 at 03:33:10PM +0800, Jason Wang wrote: 在 2021/7/21 下午6:20, Stefan Hajnoczi 写道: On Wed, Jul 21, 2021 at 10:29:17AM +0800, Jason

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

2021-08-03 Thread Jason Wang
在 2021/8/3 下午6:37, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 02:33:20PM +0800, Jason Wang wrote: 在 2021/7/26 下午11:07, Stefan Hajnoczi 写道: I guess this is just a summary of what we've already discussed and not new information. I think an implementation today would use DBus VMSta

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

2021-08-03 Thread Jason Wang
在 2021/8/3 下午8:22, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午6:37, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 02:33:20PM +0800, Jason Wang wrote: 在 2021/7/26 下午11:07, Stefan Hajnoczi 写道: I guess this is just a summary of what we've already disc

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

2021-08-04 Thread Jason Wang
在 2021/8/4 下午4:36, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 07:42:31PM +0800, Jason Wang wrote: 在 2021/8/3 下午6:37, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 02:33:20PM +0800, Jason Wang wrote: 在 2021/7/26 下午11:07, Stefan Hajnoczi 写道: I guess this is just a summary of what we&#x

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

2021-08-04 Thread Jason Wang
在 2021/8/4 下午5:07, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午8:22, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午6:37, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 02:33:20PM +0800, Jason Wang wrote: 在 2021/7/26 下午

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

2021-08-04 Thread Jason Wang
在 2021/8/4 下午5:20, Stefan Hajnoczi 写道: On Wed, Aug 04, 2021 at 09:42:34AM +0800, Jason Wang wrote: 在 2021/8/3 下午8:22, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午6:37, Stefan Hajnoczi 写道: On Tue, Aug 03, 2021 at 02:33:20PM +0800, Jason Wang wrote: 在

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

2021-08-05 Thread Jason Wang
在 2021/8/5 下午4:19, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/4 下午5:07, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午8:22, Dr. David Alan Gilbert 写道: * Jason Wang (jasow...@redhat.com) wrote: 在 2021/8/3 下午6:37, Stefan

Re: [virtio-dev] Re: [PATCH v1] virtio-mmio: Specify wait needed in driver during reset

2021-08-15 Thread Jason Wang
在 2021/8/11 下午6:05, Srivatsa Vaddagiri 写道: * Jason Wang [2021-08-02 14:06:38]: Maybe if it sees status was not read it can just stay in reset state and not exit it? Or I wonder we can use increase the version instead. What should be the guidance for backend/devices here? Go with version

  1   2   3   4   5   6   7   >