On Tue, 15 Sep 2020 15:14:41 -0400 Matthew Rosato <mjros...@linux.ibm.com> wrote:
> The underlying host may be limiting the number of outstanding DMA > requests for type 1 IOMMU. Add helper functions to check for the > DMA available capability and retrieve the current number of DMA > mappings allowed. > > Signed-off-by: Matthew Rosato <mjros...@linux.ibm.com> > --- > hw/vfio/common.c | 31 +++++++++++++++++++++++++++++++ > include/hw/vfio/vfio-common.h | 2 ++ > 2 files changed, 33 insertions(+) Reviewed-by: Cornelia Huck <coh...@redhat.com>