Re: [Qemu-devel] [PATCH 8/8] vfio: Create VFIOAddressSpace objects as needed

2013-05-13 Thread David Gibson
On Mon, May 13, 2013 at 03:33:06PM -0600, Alex Williamson wrote: > On Mon, 2013-05-13 at 20:54 +1000, David Gibson wrote: > > So far, VFIO has a notion of different logical DMA address spaces, but > > only ever uses one (system memory). This patch extends this, creating > > new VFIOAddressSpace ob

Re: [Qemu-devel] [PATCH 8/8] vfio: Create VFIOAddressSpace objects as needed

2013-05-13 Thread Alex Williamson
On Mon, 2013-05-13 at 20:54 +1000, David Gibson wrote: > So far, VFIO has a notion of different logical DMA address spaces, but > only ever uses one (system memory). This patch extends this, creating > new VFIOAddressSpace objects as necessary, according to the AddressSpace > reported by the PCI s

[Qemu-devel] [PATCH 8/8] vfio: Create VFIOAddressSpace objects as needed

2013-05-13 Thread David Gibson
So far, VFIO has a notion of different logical DMA address spaces, but only ever uses one (system memory). This patch extends this, creating new VFIOAddressSpace objects as necessary, according to the AddressSpace reported by the PCI subsystem for this device's DMAs. This isn't enough yet to supp