tools/virtio: Add --reset
authorEugenio Pérez <eperezma@redhat.com>
Sat, 18 Apr 2020 10:22:13 +0000 (12:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Jun 2020 16:34:21 +0000 (12:34 -0400)
commit264ee5aa81ec87eebfb0e2fb70cc0a38df80bab2
tree8173a10f1acdd1b91feaf637e94bd8d69a83b47f
parent7add78b2a6b76d98fcf35e981c5f84b3c91459f5
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>
drivers/vhost/test.c
drivers/vhost/test.h
tools/virtio/virtio_test.c