[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] vfio: Add an ioctl to reset the device
On Tue, 2011-04-19 at 15:07 -0700, Chris Wright wrote:
> * 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.
> Shouldn't there be a reset when binding/unbinding vfio to/from a pci
> device?

There's already one when the /dev/vfioX file is opened, we should add
another on release, and probably add the same PCI save state store/load
that I'm proposing for KVM across those. Thanks,


 \ /
  Last update: 2011-04-20 00:25    [W:0.067 / U:0.096 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site