Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-12 Thread Jason Wang
On 2020/2/12 下午5:55, Michael S. Tsirkin wrote: On Wed, Feb 12, 2020 at 05:33:06PM +0800, Jason Wang wrote: On 2020/2/12 下午4:53, Jason Wang wrote: On 2020/2/12 下午4:18, Michael S. Tsirkin wrote: On Wed, Feb 12, 2020 at 11:39:54AM +0800, Jason Wang wrote: On 2020/2/11 下午7:33, Michael S. Tsirki

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-12 Thread Michael S. Tsirkin
On Wed, Feb 12, 2020 at 05:33:06PM +0800, Jason Wang wrote: > > On 2020/2/12 下午4:53, Jason Wang wrote: > > > > On 2020/2/12 下午4:18, Michael S. Tsirkin wrote: > > > On Wed, Feb 12, 2020 at 11:39:54AM +0800, Jason Wang wrote: > > > > On 2020/2/11 下午7:33, Michael S. Tsirkin wrote: > > > > > On Mon,

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-12 Thread Jason Wang
On 2020/2/12 下午4:53, Jason Wang wrote: On 2020/2/12 下午4:18, Michael S. Tsirkin wrote: On Wed, Feb 12, 2020 at 11:39:54AM +0800, Jason Wang wrote: On 2020/2/11 下午7:33, Michael S. Tsirkin wrote: On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: From: Liu Jiang The standard virtio-mmi

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-12 Thread Jason Wang
On 2020/2/12 下午4:18, Michael S. Tsirkin wrote: On Wed, Feb 12, 2020 at 11:39:54AM +0800, Jason Wang wrote: On 2020/2/11 下午7:33, Michael S. Tsirkin wrote: On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: From: Liu Jiang The standard virtio-mmio devices use notification register to si

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-12 Thread Michael S. Tsirkin
On Wed, Feb 12, 2020 at 11:39:54AM +0800, Jason Wang wrote: > > On 2020/2/11 下午7:33, Michael S. Tsirkin wrote: > > On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: > > > From: Liu Jiang > > > > > > The standard virtio-mmio devices use notification register to signal > > > backend. This wi

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-11 Thread Jason Wang
On 2020/2/11 下午7:33, Michael S. Tsirkin wrote: On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: From: Liu Jiang The standard virtio-mmio devices use notification register to signal backend. This will cause vmexits and slow down the performance when we passthrough the virtio-mmio devic

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-11 Thread Michael S. Tsirkin
On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: > From: Liu Jiang > > The standard virtio-mmio devices use notification register to signal > backend. This will cause vmexits and slow down the performance when we > passthrough the virtio-mmio devices to guest virtual machines. > We propos

Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-11 Thread Michael S. Tsirkin
On Mon, Feb 10, 2020 at 05:05:17PM +0800, Zha Bin wrote: > From: Liu Jiang > > The standard virtio-mmio devices use notification register to signal > backend. This will cause vmexits and slow down the performance when we > passthrough the virtio-mmio devices to guest virtual machines. > We propos

[PATCH v2 1/5] virtio-mmio: add notify feature for per-queue

2020-02-10 Thread Zha Bin
From: Liu Jiang The standard virtio-mmio devices use notification register to signal backend. This will cause vmexits and slow down the performance when we passthrough the virtio-mmio devices to guest virtual machines. We proposed to update virtio over MMIO spec to add the per-queue notify featur