summary refs log tree commit diff stats
path: root/linux-user/mips/cpu_loop.c
diff options
context:
space:
mode:
authorMatthew Rosato <mjrosato@linux.ibm.com>2020-10-26 11:34:35 -0400
committerAlex Williamson <alex.williamson@redhat.com>2020-11-01 12:30:52 -0700
commit37fa32de707340f3a93959ad5a1ebc41ba1520ee (patch)
tree2c7beddea849c67a0f1565f865c03fe1a55542a4 /linux-user/mips/cpu_loop.c
parentcd7498d07fbb20fa04790ff7ee168a8a8d01cb30 (diff)
downloadfocaccia-qemu-37fa32de707340f3a93959ad5a1ebc41ba1520ee.tar.gz
focaccia-qemu-37fa32de707340f3a93959ad5a1ebc41ba1520ee.zip
s390x/pci: Honor DMA limits set by vfio
When an s390 guest is using lazy unmapping, it can result in a very
large number of oustanding DMA requests, far beyond the default
limit configured for vfio.  Let's track DMA usage similar to vfio
in the host, and trigger the guest to flush their DMA mappings
before vfio runs out.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
[aw: non-Linux build fixes]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'linux-user/mips/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions