summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorZhu Lingshan <lingshan.zhu@intel.com>2020-06-05 18:27:13 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-06-06 16:26:27 -0400
commit776f395004d829bbbf18c159ed9beb517a208c71 (patch)
tree07c2187fc81a89d6c7b86a50418de85f9f1f23a7 /include/uapi
parentbb02e6e63d0e71188bc5fe5f4732e66bc8b5dceb (diff)
vhost_vdpa: Support config interrupt in vdpa
This commit implements config interrupt support in vhost_vdpa layer. Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/1591352835-22441-4-git-send-email-lingshan.zhu@intel.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/vhost.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h
index 9fe72e4b1373..0c2349612e77 100644
--- a/include/uapi/linux/vhost.h
+++ b/include/uapi/linux/vhost.h
@@ -15,6 +15,8 @@
#include <linux/types.h>
#include <linux/ioctl.h>
+#define VHOST_FILE_UNBIND -1
+
/* ioctls */
#define VHOST_VIRTIO 0xAF
@@ -140,4 +142,6 @@
/* Get the max ring size. */
#define VHOST_VDPA_GET_VRING_NUM _IOR(VHOST_VIRTIO, 0x76, __u16)
+/* Set event fd for config interrupt*/
+#define VHOST_VDPA_SET_CONFIG_CALL _IOW(VHOST_VIRTIO, 0x77, int)
#endif