aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/test.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2020-04-18 12:22:13 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-06-22 12:34:21 -0400
commit264ee5aa81ec87eebfb0e2fb70cc0a38df80bab2 (patch)
tree8173a10f1acdd1b91feaf637e94bd8d69a83b47f /drivers/vhost/test.h
parenttools/virtio: Add --batch=random option (diff)
downloadlinux-dev-264ee5aa81ec87eebfb0e2fb70cc0a38df80bab2.tar.xz
linux-dev-264ee5aa81ec87eebfb0e2fb70cc0a38df80bab2.zip
tools/virtio: Add --reset
Currently, it only removes and add backend, but it will reset vq position in future commits. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Link: https://lore.kernel.org/r/20200418102217.32327-5-eperezma@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/test.h')
-rw-r--r--drivers/vhost/test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vhost/test.h b/drivers/vhost/test.h
index 7dd265bfdf81..822bc4bee03a 100644
--- a/drivers/vhost/test.h
+++ b/drivers/vhost/test.h
@@ -4,5 +4,6 @@
/* Start a given test on the virtio null device. 0 stops all tests. */
#define VHOST_TEST_RUN _IOW(VHOST_VIRTIO, 0x31, int)
+#define VHOST_TEST_SET_BACKEND _IOW(VHOST_VIRTIO, 0x32, int)
#endif