projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b0912
)
tools/virtio: add virtio 1.0 in vringh_test
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 14 Dec 2014 21:36:33 +0000
(23:36 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Mon, 15 Dec 2014 21:49:22 +0000
(23:49 +0200)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/vringh_test.c
patch
|
blob
|
history
diff --git
a/tools/virtio/vringh_test.c
b/tools/virtio/vringh_test.c
index 51d922fd4f62ce1edbb6b1af87ce56aaf2a7a3f1..5f94f51056781e1f8a662be8db245cfd0285b5a8 100644
(file)
--- 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)