aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 6cb817d..009ba83 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -317,12 +317,18 @@ typedef enum vfu_reset_type {
* reset to a known-good initial state (including any PCI register state).
*/
VFU_RESET_DEVICE,
+
/*
* The vfio-user socket client connection was closed or reset. The attached
* context is cleaned up after returning from the reset callback, and
* vfu_attach_ctx() must be called to establish a new client.
*/
- VFU_RESET_LOST_CONN
+ VFU_RESET_LOST_CONN,
+
+ /*
+ * Client requested to initiate PCI function level reset.
+ */
+ VFU_RESET_PCI_FLR
} vfu_reset_type_t;
/*