diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2020-04-18 12:22:13 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-22 12:34:21 -0400 |
commit | 264ee5aa81ec87eebfb0e2fb70cc0a38df80bab2 (patch) | |
tree | 8173a10f1acdd1b91feaf637e94bd8d69a83b47f /drivers/vhost/test.h | |
parent | 7add78b2a6b76d98fcf35e981c5f84b3c91459f5 (diff) |
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.h | 1 |
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 |