summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2016-07-28 16:36:34 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-08-02 01:57:30 +0200
commit433fc58e6bf2c8bd97e57153ed28e64fd78207b8 (patch)
tree6d187ecde011286e644e24d7a01500dcc899e7df /include
parentVSOCK: Introduce virtio_transport.ko (diff)
downloadlinux-433fc58e6bf2c8bd97e57153ed28e64fd78207b8.tar.xz
linux-433fc58e6bf2c8bd97e57153ed28e64fd78207b8.zip
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')
-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 61a8777178c6..c4400b267716 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