diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-12-14 21:36:33 (GMT) |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-15 21:49:22 (GMT) |
commit | 8dc32b292d157a0c9a0d39b3839a59bd7fd13199 (patch) | |
tree | 31c29ff69fb2c772f2b7fdb566de58a52415ff9e /tools | |
parent | 43b09122ce6c14d664c2a5f425b051b5936dbde6 (diff) | |
download | linux-8dc32b292d157a0c9a0d39b3839a59bd7fd13199.tar.xz |
tools/virtio: add virtio 1.0 in vringh_test
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtio/vringh_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtio/vringh_test.c b/tools/virtio/vringh_test.c index 51d922f..5f94f51 100644 --- a/tools/virtio/vringh_test.c +++ b/tools/virtio/vringh_test.c @@ -457,6 +457,8 @@ int main(int argc, char *argv[]) __virtio_set_bit(&vdev, VIRTIO_RING_F_INDIRECT_DESC); else if (strcmp(argv[1], "--eventidx") == 0) __virtio_set_bit(&vdev, VIRTIO_RING_F_EVENT_IDX); + else if (strcmp(argv[1], "--virtio-1") == 0) + __virtio_set_bit(&vdev, VIRTIO_F_VERSION_1); else if (strcmp(argv[1], "--slow-range") == 0) getrange = getrange_slow; else if (strcmp(argv[1], "--fast-vringh") == 0) |