History

vhost_vdpa: Support config interrupt in vdpa

This commit implements config interrupt support in vhost_vdpa layer.

Zhu Lingshan committed 6 years ago

Commit 776f3951 parent bb02e6e2 files · +51 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/vhost.h+4−0
@@ -15,6 +15,8 @@ · 14 unmodified lines
1515 #include <linux/types.h>
1616 #include <linux/ioctl.h>
1717
18+#define VHOST_FILE_UNBIND -1
19+
1820 /* ioctls */
1921
2022 #define VHOST_VIRTIO 0xAF
@@ -140,4 +142,6 @@ · 119 unmodified lines
140142 /* Get the max ring size. */
141143 #define VHOST_VDPA_GET_VRING_NUM _IOR(VHOST_VIRTIO, 0x76, __u16)
142144
145+/* Set event fd for config interrupt*/
146+#define VHOST_VDPA_SET_CONFIG_CALL _IOW(VHOST_VIRTIO, 0x77, int)
143147 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t