VFIO: platform: add reset callback
A new reset callback is introduced. If this callback is populated, the reset is invoked on device first open/last close or upon userspace ioctl. The modality is exposed on VFIO_DEVICE_GET_INFO. Signed-off-by: NEric Auger <eric.auger@linaro.org> Acked-by: NBaptiste Reynal <b.reynal@virtualopensystems.com> Tested-by: NBaptiste Reynal <b.reynal@virtualopensystems.com> Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
Showing
想要评论请 注册 或 登录