[Qemu-devel] Re: [RFC PATCH 5/5] VFIO based device assignment

2010-07-11 Thread Avi Kivity
On 07/11/2010 10:38 PM, Alex Williamson wrote: What about page attributes? There are two cases: - snoop capable iommu - can use write-backed RAM, but need to enable snoop. BARs still need to respect page attributes. - older mmu - need to respect guest memory type; probably cannot be done wit

[Qemu-devel] Re: [RFC PATCH 5/5] VFIO based device assignment

2010-07-11 Thread Alex Williamson
On Sun, 2010-07-11 at 21:27 +0300, Avi Kivity wrote: > On 07/11/2010 09:09 PM, Alex Williamson wrote: > > This patch adds qemu device assignment support using the proposed > > VFIO/UIOMMU kernel interfaces. The existing KVM-only device assignment > > code makes use of various pci sysfs files for c

[Qemu-devel] Re: [RFC PATCH 5/5] VFIO based device assignment

2010-07-11 Thread Avi Kivity
On 07/11/2010 09:09 PM, Alex Williamson wrote: This patch adds qemu device assignment support using the proposed VFIO/UIOMMU kernel interfaces. The existing KVM-only device assignment code makes use of various pci sysfs files for config space, MMIO BAR mapping, and misc other config items. It t