]> git.proxmox.com Git - qemu.git/commit
vfio-pci: Unmap and retry DMA mapping
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:29 +0000 (08:45 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:29 +0000 (08:45 -0600)
commit12af1344871aee4a8df011c3b0548f7c77332d54
tree8c55332d36c5317e2ea18dec6ada2eb59cd3283b
parentaf6bc27e39fafadbc03c8876ffa95851c5869683
vfio-pci: Unmap and retry DMA mapping

Occasionally we get regions added that overlap with existing mappings.
These always seems to be in the VGA ROM range.  VFIO returns EBUSY
for these mapping attempts.  We can try a little harder and assume
that the latest mapping is correct by removing any overlapping ranges
and retrying the original request.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio_pci.c