History

virt: vbox: Add a few new vmmdev request types to the userspace whitelist

Upstream VirtualBox has defined and is using a few new request types for vmmdev requests passed through /dev/vboxguest to the hypervisor. Add the defines for these to vbox_vmmdev_types.h and add add them to the whitelists of vmmdev requests which userspace is allowed to make.

Hans de Goede committed 6 years ago

Commit 316b0031 parent 631bedd2 files · +5 −0Browse files

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

Unified · Split

include/uapi/linux/vbox_vmmdev_types.h+3−0
@@ -63,6 +63,7 @@ enum vmmdev_request_type { · 62 unmodified lines
63 VMMDEVREQ_SET_GUEST_CAPABILITIES = 56,63 VMMDEVREQ_SET_GUEST_CAPABILITIES = 56,
64 VMMDEVREQ_VIDEMODE_SUPPORTED2 = 57, /* since version 3.2.0 */64 VMMDEVREQ_VIDEMODE_SUPPORTED2 = 57, /* since version 3.2.0 */
65 VMMDEVREQ_GET_DISPLAY_CHANGE_REQEX = 80, /* since version 4.2.4 */65 VMMDEVREQ_GET_DISPLAY_CHANGE_REQEX = 80, /* since version 4.2.4 */
66 VMMDEVREQ_GET_DISPLAY_CHANGE_REQ_MULTI = 81,
66 VMMDEVREQ_HGCM_CONNECT = 60,67 VMMDEVREQ_HGCM_CONNECT = 60,
67 VMMDEVREQ_HGCM_DISCONNECT = 61,68 VMMDEVREQ_HGCM_DISCONNECT = 61,
68 VMMDEVREQ_HGCM_CALL32 = 62,69 VMMDEVREQ_HGCM_CALL32 = 62,
@@ -92,6 +93,8 @@ enum vmmdev_request_type { · 23 unmodified lines
92 VMMDEVREQ_WRITE_COREDUMP = 218,93 VMMDEVREQ_WRITE_COREDUMP = 218,
93 VMMDEVREQ_GUEST_HEARTBEAT = 219,94 VMMDEVREQ_GUEST_HEARTBEAT = 219,
94 VMMDEVREQ_HEARTBEAT_CONFIGURE = 220,95 VMMDEVREQ_HEARTBEAT_CONFIGURE = 220,
96 VMMDEVREQ_NT_BUG_CHECK = 221,
97 VMMDEVREQ_VIDEO_UPDATE_MONITOR_POSITIONS = 222,
95 /* Ensure the enum is a 32 bit data-type */98 /* Ensure the enum is a 32 bit data-type */
96 VMMDEVREQ_SIZEHACK = 0x7fffffff99 VMMDEVREQ_SIZEHACK = 0x7fffffff
97};100};

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