Re: [PATCH 3/3] s390x/pci: shrink DMA aperture to be bound by vfio DMA limit

2022-11-04 Thread Eric Farman
On Fri, 2022-10-28 at 15:47 -0400, Matthew Rosato wrote: > Currently, s390x-pci performs accounting against the vfio DMA > limit and triggers the guest to clean up mappings when the limit > is reached. Let's go a step further and also limit the size of > the supported DMA aperture reported to the g

[PATCH 3/3] s390x/pci: shrink DMA aperture to be bound by vfio DMA limit

2022-10-28 Thread Matthew Rosato
Currently, s390x-pci performs accounting against the vfio DMA limit and triggers the guest to clean up mappings when the limit is reached. Let's go a step further and also limit the size of the supported DMA aperture reported to the guest based upon the initial vfio DMA limit reported for the conta