Re: [PATCH v3] vfio_pci: Restore original state on release

2019-08-23 Thread Alex Williamson
On Thu, 22 Aug 2019 11:35:19 +0800 hexin wrote: > vfio_pci_enable() saves the device's initial configuration information > with the intent that it is restored in vfio_pci_disable(). However, > the commit referenced in Fixes: below replaced the call to > __pci_reset_function_locked(), which is

[PATCH v3] vfio_pci: Restore original state on release

2019-08-21 Thread hexin
vfio_pci_enable() saves the device's initial configuration information with the intent that it is restored in vfio_pci_disable(). However, the commit referenced in Fixes: below replaced the call to __pci_reset_function_locked(), which is not wrapped in a state save and restore, with