summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/test.c
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2013-05-06 10:38:21 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-07-07 16:33:44 +0200
commit6ac1afbf6132df0fcb0898f3509371305af7de16 (patch)
tree78a3115a6e6f5533779806c5b13c040a1f7b1735 /drivers/vhost/test.c
parentvhost-scsi: Rename struct tcm_vhost_cmd *tv_cmd to *cmd (diff)
downloadlinux-6ac1afbf6132df0fcb0898f3509371305af7de16.tar.xz
linux-6ac1afbf6132df0fcb0898f3509371305af7de16.zip
vhost: Make vhost a separate module
Currently, vhost-net and vhost-scsi are sharing the vhost core code. However, vhost-scsi shares the code by including the vhost.c file directly. Making vhost a separate module makes it is easier to share code with other vhost devices. Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/test.c')
-rw-r--r--drivers/vhost/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c
index 1ee45bc85f67..9b71a577f7bd 100644
--- a/drivers/vhost/test.c
+++ b/drivers/vhost/test.c
@@ -18,7 +18,7 @@
#include <linux/slab.h>
#include "test.h"
-#include "vhost.c"
+#include "vhost.h"
/* Max number of bytes transferred before requeueing the job.
* Using this limit prevents one virtqueue from starving others. */