]> git.proxmox.com Git - qemu.git/commit
vfio-pci: Extend reset
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:30 +0000 (08:45 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 8 Oct 2012 14:45:30 +0000 (08:45 -0600)
commit5834a83f4803de88949162346e6dfa2060d3fca6
tree4575e642971468f365bbad9f938fbf534829e983
parent9b1e45c8f1355592cb60c6aed9ac1f90b606a1a8
vfio-pci: Extend reset

Take what we've learned from pci-assign and apply it to vfio-pci.
On reset, disable previous interrupt config, perform a device
reset if available, re-enable INTx, and disable memory regions on
the device to prevent continuing DMA.

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