[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue |
Date: |
Wed, 12 Feb 2020 03:18:57 -0500 |
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<address@hidden>
> > >
> > > 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 feature VIRTIO_F_MMIO_NOTIFICATION[1]. It can allow the VMM to
> > > configure notify location for each queue.
> > >
> > > [1]https://lkml.org/lkml/2020/1/21/31
> > >
> > > Signed-off-by: Liu Jiang<address@hidden>
> > > Co-developed-by: Zha Bin<address@hidden>
> > > Signed-off-by: Zha Bin<address@hidden>
> > > Co-developed-by: Jing Liu<address@hidden>
> > > Signed-off-by: Jing Liu<address@hidden>
> > > Co-developed-by: Chao Peng<address@hidden>
> > > Signed-off-by: Chao Peng<address@hidden>
> > Hmm. Any way to make this static so we don't need
> > base and multiplier?
>
>
> E.g page per vq?
>
> Thanks
Problem is, is page size well defined enough?
Are there cases where guest and host page sizes differ?
I suspect there might be.
But I also think this whole patch is unproven. Is someone actually
working on QEMU code to support pass-trough of virtio-pci
as virtio-mmio for nested guests? What's the performance
gain like?
--
MST
Re: [PATCH v2 4/5] virtio-mmio: add MSI interrupt feature support, Michael S. Tsirkin, 2020/02/11
[PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Zha Bin, 2020/02/10
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Michael S. Tsirkin, 2020/02/11
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Michael S. Tsirkin, 2020/02/11
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Jason Wang, 2020/02/11
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue,
Michael S. Tsirkin <=
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Jason Wang, 2020/02/12
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Jason Wang, 2020/02/12
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Michael S. Tsirkin, 2020/02/12
- Re: [PATCH v2 1/5] virtio-mmio: add notify feature for per-queue, Jason Wang, 2020/02/12
[PATCH v2 5/5] x86: virtio-mmio: support virtio-mmio with MSI for x86, Zha Bin, 2020/02/10
[PATCH v2 3/5] virtio-mmio: create a generic MSI irq domain, Zha Bin, 2020/02/10