When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within the guest
mapped memory. Add an ioctl which just calls pci_reset_function()
and returns whether it succeeds.
Signed-off-by: Alex Williamson alex.william...@redhat.com
---
On Tue, 19 Apr 2011 14:32:59 -0600 Alex Williamson wrote:
When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within the guest
mapped memory. Add an ioctl which just calls pci_reset_function()
and returns whether it succeeds.
* Randy Dunlap (rdun...@xenotime.net) wrote:
I can't find include/linux/vfio.h in linux-next or mainline git, but
ioctls need to be documented in Documentation/ioctl/ioctl-number.txt
It is in the full patchset: https://github.com/pugs/vfio-linux-2.6
* Alex Williamson (alex.william...@redhat.com) wrote:
When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within the guest
mapped memory. Add an ioctl which just calls pci_reset_function()
and returns whether it succeeds.
On Tue, 2011-04-19 at 15:07 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within the guest
mapped memory. Add an ioctl which just calls
* Alex Williamson (alex.william...@redhat.com) wrote:
On Tue, 2011-04-19 at 15:07 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within
On Tue, 2011-04-19 at 15:26 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
On Tue, 2011-04-19 at 15:07 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
When using VFIO to assign a device to a guest, we want to make sure
* Alex Williamson (alex.william...@redhat.com) wrote:
On Tue, 2011-04-19 at 15:26 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
On Tue, 2011-04-19 at 15:07 -0700, Chris Wright wrote:
* Alex Williamson (alex.william...@redhat.com) wrote:
When using
On Tuesday, April 19, 2011 01:32:59 pm Alex Williamson wrote:
When using VFIO to assign a device to a guest, we want to make sure
the device is quiesced on VM reset to stop all DMA within the guest
mapped memory. Add an ioctl which just calls pci_reset_function()
and returns whether it