diff options
| author | John Levon <john.levon@nutanix.com> | 2025-06-25 20:30:04 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-06-26 08:55:38 +0200 |
| commit | 019232358124e4f4b929e40fa23253de60eec73e (patch) | |
| tree | 7720556efe3ed89d322f6239fbb1bb3954d3efac /hw/vfio-user/device.h | |
| parent | 52ce9c35f8e364e5823fc13f23929eb597bb69ac (diff) | |
| download | focaccia-qemu-019232358124e4f4b929e40fa23253de60eec73e.tar.gz focaccia-qemu-019232358124e4f4b929e40fa23253de60eec73e.zip | |
vfio-user: implement VFIO_USER_DEVICE_RESET
Hook this call up to the legacy reset handler for vfio-user-pci. Originally-by: John Johnson <john.g.johnson@oracle.com> Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250625193012.2316242-13-john.levon@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio-user/device.h')
| -rw-r--r-- | hw/vfio-user/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vfio-user/device.h b/hw/vfio-user/device.h index 619c0f3140..d183a3950e 100644 --- a/hw/vfio-user/device.h +++ b/hw/vfio-user/device.h @@ -17,6 +17,8 @@ bool vfio_user_get_device_info(VFIOUserProxy *proxy, struct vfio_device_info *info, Error **errp); +void vfio_user_device_reset(VFIOUserProxy *proxy); + extern VFIODeviceIOOps vfio_user_device_io_ops_sock; #endif /* VFIO_USER_DEVICE_H */ |