summaryrefslogtreecommitdiff
path: root/mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2024-01-31 07:58:16 -0800
committerKalesh Singh <kaleshsingh@google.com>2024-01-31 07:58:24 -0800
commit9f2b634c25c4af1a26f6a92263fef48377f0ddec (patch)
tree33e8bdce25c4bdd468ab14d808c040d56b42bb9f /mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h
parent553d413953d518a56f665c09b9e9457c713da144 (diff)
downloadruntime-9f2b634c25c4af1a26f6a92263fef48377f0ddec.tar.gz
Update ART dependencies prebuilts.
Taken from branch aosp-main, target mainline_modules_sdks-trunk_staging-userdebug, build 11379957. CL prepared by prebuilts/runtime/mainline/update.py. Bug: 316403210 Test: Presubmits Change-Id: Iab2e6fcbe848d01912d90d24cf28cac1730e9c39 Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Diffstat (limited to 'mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h')
-rw-r--r--mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h29
1 files changed, 11 insertions, 18 deletions
diff --git a/mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h b/mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h
index 5138f0c5..adf0af74 100644
--- a/mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h
+++ b/mainline/runtime/sdk/linux_bionic/include/bionic/libc/kernel/uapi/linux/vhost.h
@@ -1,21 +1,9 @@
-/****************************************************************************
- ****************************************************************************
- ***
- *** This header was automatically generated from a Linux kernel header
- *** of the same name, to make information necessary for userspace to
- *** call into the kernel available to libc. It contains only constants,
- *** structures, and macros generated from the original header, and thus,
- *** contains no copyrightable information.
- ***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
- ****************************************************************************
- ****************************************************************************/
+/*
+ * This file is auto-generated. Modifications will be lost.
+ *
+ * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
+ * for more information.
+ */
#ifndef _LINUX_VHOST_H
#define _LINUX_VHOST_H
#include <linux/vhost_types.h>
@@ -30,6 +18,8 @@
#define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
#define VHOST_SET_LOG_BASE _IOW(VHOST_VIRTIO, 0x04, __u64)
#define VHOST_SET_LOG_FD _IOW(VHOST_VIRTIO, 0x07, int)
+#define VHOST_NEW_WORKER _IOR(VHOST_VIRTIO, 0x8, struct vhost_worker_state)
+#define VHOST_FREE_WORKER _IOW(VHOST_VIRTIO, 0x9, struct vhost_worker_state)
#define VHOST_SET_VRING_NUM _IOW(VHOST_VIRTIO, 0x10, struct vhost_vring_state)
#define VHOST_SET_VRING_ADDR _IOW(VHOST_VIRTIO, 0x11, struct vhost_vring_addr)
#define VHOST_SET_VRING_BASE _IOW(VHOST_VIRTIO, 0x12, struct vhost_vring_state)
@@ -38,6 +28,8 @@
#define VHOST_VRING_BIG_ENDIAN 1
#define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state)
#define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state)
+#define VHOST_ATTACH_VRING_WORKER _IOW(VHOST_VIRTIO, 0x15, struct vhost_vring_worker)
+#define VHOST_GET_VRING_WORKER _IOWR(VHOST_VIRTIO, 0x16, struct vhost_vring_worker)
#define VHOST_SET_VRING_KICK _IOW(VHOST_VIRTIO, 0x20, struct vhost_vring_file)
#define VHOST_SET_VRING_CALL _IOW(VHOST_VIRTIO, 0x21, struct vhost_vring_file)
#define VHOST_SET_VRING_ERR _IOW(VHOST_VIRTIO, 0x22, struct vhost_vring_file)
@@ -70,4 +62,5 @@
#define VHOST_VDPA_SET_GROUP_ASID _IOW(VHOST_VIRTIO, 0x7C, struct vhost_vring_state)
#define VHOST_VDPA_SUSPEND _IO(VHOST_VIRTIO, 0x7D)
#define VHOST_VDPA_RESUME _IO(VHOST_VIRTIO, 0x7E)
+#define VHOST_VDPA_GET_VRING_DESC_GROUP _IOWR(VHOST_VIRTIO, 0x7F, struct vhost_vring_state)
#endif