Re: [Qemu-devel] [PATCH v2 3/4] vfio: Inhibit ballooning based on group attachment to a container

2018-08-07 Thread Peter Xu
On Tue, Aug 07, 2018 at 10:35:05AM -0600, Alex Williamson wrote: > On Tue, 7 Aug 2018 21:10:21 +0800 > Peter Xu wrote: > > > On Mon, Jul 30, 2018 at 05:14:21PM -0600, Alex Williamson wrote: > > > We use a VFIOContainer to associate an AddressSpace to one or more > > > VFIOGroups. The VFIOContain

Re: [Qemu-devel] [PATCH v2 3/4] vfio: Inhibit ballooning based on group attachment to a container

2018-08-07 Thread Alex Williamson
On Tue, 7 Aug 2018 21:10:21 +0800 Peter Xu wrote: > On Mon, Jul 30, 2018 at 05:14:21PM -0600, Alex Williamson wrote: > > We use a VFIOContainer to associate an AddressSpace to one or more > > VFIOGroups. The VFIOContainer represents the DMA context for that > > AdressSpace for those VFIOGroups a

Re: [Qemu-devel] [PATCH v2 3/4] vfio: Inhibit ballooning based on group attachment to a container

2018-08-07 Thread Peter Xu
On Mon, Jul 30, 2018 at 05:14:21PM -0600, Alex Williamson wrote: > We use a VFIOContainer to associate an AddressSpace to one or more > VFIOGroups. The VFIOContainer represents the DMA context for that > AdressSpace for those VFIOGroups and is synchronized to changes in > that AddressSpace via a M

[Qemu-devel] [PATCH v2 3/4] vfio: Inhibit ballooning based on group attachment to a container

2018-07-30 Thread Alex Williamson
We use a VFIOContainer to associate an AddressSpace to one or more VFIOGroups. The VFIOContainer represents the DMA context for that AdressSpace for those VFIOGroups and is synchronized to changes in that AddressSpace via a MemoryListener. For IOMMU backed devices, maintaining the DMA context for