diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-11-29 12:09:01 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-09 09:00:21 -0500 |
commit | 71ccc212e5b28dfcc870b6db6589c2df264fdc6a (patch) | |
tree | d9e98da011381c02b4ccae592509836aed2f0fcd /drivers/vhost/test.h | |
parent | 28831ee60b79bed50958c9cb0d2e76cdc98406f9 (diff) |
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 'drivers/vhost/test.h')
-rw-r--r-- | drivers/vhost/test.h | 7 |
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 @@ | |||
1 | #ifndef LINUX_VHOST_TEST_H | ||
2 | #define LINUX_VHOST_TEST_H | ||
3 | |||
4 | /* Start a given test on the virtio null device. 0 stops all tests. */ | ||
5 | #define VHOST_TEST_RUN _IOW(VHOST_VIRTIO, 0x31, int) | ||
6 | |||
7 | #endif | ||