Re: [Qemu-devel] [PATCH v2 3/6] virtio: support adding sub-regions for notify region

2018-03-27 Thread Tiwei Bie
On Thu, Mar 22, 2018 at 04:57:23PM +0200, Michael S. Tsirkin wrote: > On Mon, Mar 19, 2018 at 03:15:34PM +0800, Tiwei Bie wrote: [...] > > + > > +bool virtio_pci_page_per_vq_enabled(VirtIODevice *vdev) > > +{ > > +VirtIOPCIProxy *proxy = virtio_device_to_virtio_pci_proxy(vdev); > > + > > +i

Re: [Qemu-devel] [PATCH v2 3/6] virtio: support adding sub-regions for notify region

2018-03-22 Thread Michael S. Tsirkin
On Mon, Mar 19, 2018 at 03:15:34PM +0800, Tiwei Bie wrote: > Provide APIs to support querying whether the page-per-vq > is enabled and adding sub-regions for notify region. > > Signed-off-by: Tiwei Bie > --- > Makefile.target| 4 > hw/virtio/virtio-pci.c | 48 > +++

[Qemu-devel] [PATCH v2 3/6] virtio: support adding sub-regions for notify region

2018-03-19 Thread Tiwei Bie
Provide APIs to support querying whether the page-per-vq is enabled and adding sub-regions for notify region. Signed-off-by: Tiwei Bie --- Makefile.target| 4 hw/virtio/virtio-pci.c | 48 ++ hw/virtio/virtio-pci.h | 5 +