summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2016-07-28 15:36:34 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-08-02 02:57:30 +0300
commit433fc58e6bf2c8bd97e57153ed28e64fd78207b8 (patch)
tree6d187ecde011286e644e24d7a01500dcc899e7df /include/uapi
parent0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872 (diff)
downloadop-kernel-dev-433fc58e6bf2c8bd97e57153ed28e64fd78207b8.zip
op-kernel-dev-433fc58e6bf2c8bd97e57153ed28e64fd78207b8.tar.gz
VSOCK: Introduce vhost_vsock.ko
VM sockets vhost transport implementation. This driver runs on the host. Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/vhost.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h
index 61a8777..c4400b2 100644
--- a/include/uapi/linux/vhost.h
+++ b/include/uapi/linux/vhost.h
@@ -175,4 +175,9 @@ struct vhost_scsi_target {
#define VHOST_SCSI_SET_EVENTS_MISSED _IOW(VHOST_VIRTIO, 0x43, __u32)
#define VHOST_SCSI_GET_EVENTS_MISSED _IOW(VHOST_VIRTIO, 0x44, __u32)
+/* VHOST_VSOCK specific defines */
+
+#define VHOST_VSOCK_SET_GUEST_CID _IOW(VHOST_VIRTIO, 0x60, __u64)
+#define VHOST_VSOCK_SET_RUNNING _IOW(VHOST_VIRTIO, 0x61, int)
+
#endif
OpenPOWER on IntegriCloud