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>
This commit is contained in:
Michael S. Tsirkin
2010-11-29 19:09:01 +02:00
szülő 28831ee60b
commit 71ccc212e5
4 fájl változott, egészen pontosan 330 új sor hozzáadva és 0 régi sor törölve

7
drivers/vhost/test.h Normal file
Fájl megtekintése

@@ -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