Re: [Qemu-devel] [PATCH v3] vfio: Add support for mmapping sub-page MMIO BARs

2016-10-30 Thread Yongji Xie
On 2016/10/31 3:59, Alex Williamson wrote: On Wed, 26 Oct 2016 16:56:13 +0800 Yongji Xie wrote: Now the kernel commit 05f0c03fbac1 ("vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive") allows VFIO to mmap sub-page BARs. This is the corresponding QEMU patch. With those p

Re: [Qemu-devel] [PATCH v3] vfio: Add support for mmapping sub-page MMIO BARs

2016-10-30 Thread Alex Williamson
On Wed, 26 Oct 2016 16:56:13 +0800 Yongji Xie wrote: > Now the kernel commit 05f0c03fbac1 ("vfio-pci: Allow to mmap > sub-page MMIO BARs if the mmio page is exclusive") allows VFIO > to mmap sub-page BARs. This is the corresponding QEMU patch. > With those patches applied, we could passthrough su

[Qemu-devel] [PATCH v3] vfio: Add support for mmapping sub-page MMIO BARs

2016-10-26 Thread Yongji Xie
Now the kernel commit 05f0c03fbac1 ("vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive") allows VFIO to mmap sub-page BARs. This is the corresponding QEMU patch. With those patches applied, we could passthrough sub-page BARs to guest, which can help to improve IO performance