aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-11-29 19:09:01 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-12-09 16:00:21 +0200
commit71ccc212e5b28dfcc870b6db6589c2df264fdc6a (patch)
treed9e98da011381c02b4ccae592509836aed2f0fcd /tools
parent28831ee60b79bed50958c9cb0d2e76cdc98406f9 (diff)
downloadkernel_goldelico_gta04-71ccc212e5b28dfcc870b6db6589c2df264fdc6a.zip
kernel_goldelico_gta04-71ccc212e5b28dfcc870b6db6589c2df264fdc6a.tar.gz
kernel_goldelico_gta04-71ccc212e5b28dfcc870b6db6589c2df264fdc6a.tar.bz2
vhost test module
This adds a test module for vhost infrastructure. Intentionally not tied to kbuild to prevent people from installing and loading it accidentally. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtio/vhost_test/Makefile2
-rw-r--r--tools/virtio/vhost_test/vhost_test.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/virtio/vhost_test/Makefile b/tools/virtio/vhost_test/Makefile
new file mode 100644
index 0000000..a1d35b8
--- /dev/null
+++ b/tools/virtio/vhost_test/Makefile
@@ -0,0 +1,2 @@
+obj-m += vhost_test.o
+EXTRA_CFLAGS += -Idrivers/vhost
diff --git a/tools/virtio/vhost_test/vhost_test.c b/tools/virtio/vhost_test/vhost_test.c
new file mode 100644
index 0000000..1873518
--- /dev/null
+++ b/tools/virtio/vhost_test/vhost_test.c
@@ -0,0 +1 @@
+#include "test.c"