commit | 813ae66008aeb97a48f20efefeb962179b642dbe | [log] [tgz] |
---|---|---|
author | Eric Auger <eric.auger@linaro.org> | Mon Jun 15 11:09:43 2015 +0200 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Jun 22 09:35:22 2015 -0600 |
tree | abc7911b21ac87c15f8614d5618e680456b0309c | |
parent | 9f85d8f9fa342b22f01b8b4416c850bac00c2b4a [diff] |
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: Eric Auger <eric.auger@linaro.org> Acked-by: Baptiste Reynal <b.reynal@virtualopensystems.com> Tested-by: Baptiste Reynal <b.reynal@virtualopensystems.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>