diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-11-29 18:09:01 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-09 15:00:21 +0100 |
commit | 71ccc212e5b28dfcc870b6db6589c2df264fdc6a (patch) | |
tree | d9e98da011381c02b4ccae592509836aed2f0fcd /drivers/vhost/test.h | |
parent | vhost: better variable name in logging (diff) | |
download | linux-71ccc212e5b28dfcc870b6db6589c2df264fdc6a.tar.xz linux-71ccc212e5b28dfcc870b6db6589c2df264fdc6a.zip |
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 @@ +#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 |