summaryrefslogtreecommitdiff
path: root/drivers/vhost/test.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-14 22:33:23 +0300
committerDavid S. Miller <davem@davemloft.net>2010-12-14 22:33:23 +0300
commit9fe146aef44afe5ec677d8150b6ae94e09b773f7 (patch)
tree25342064d136f582e57c6c2ebf4ec62dc8c71576 /drivers/vhost/test.h
parent6389aa73ab8c15084fce18307a8e198eaff818da (diff)
parent4e53f78e5b06c073a5c10814c72e98c1ca8a9f10 (diff)
downloadlinux-9fe146aef44afe5ec677d8150b6ae94e09b773f7.tar.xz
Merge branch 'vhost-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Diffstat (limited to 'drivers/vhost/test.h')
-rw-r--r--drivers/vhost/test.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/vhost/test.h b/drivers/vhost/test.h
new file mode 100644
index 000000000000..1fef5df82153
--- /dev/null
+++ b/drivers/vhost/test.h
@@ -0,0 +1,7 @@
+#ifndef LINUX_VHOST_TEST_H
+#define LINUX_VHOST_TEST_H
+
+/* Start a given test on the virtio null device. 0 stops all tests. */
+#define VHOST_TEST_RUN _IOW(VHOST_VIRTIO, 0x31, int)
+
+#endif