Skip to content

Commit

Permalink
tools/virtio: add virtio 1.0 in vringh_test
Browse files Browse the repository at this point in the history
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
mstsirkin committed Dec 15, 2014
1 parent 43b0912 commit 8dc32b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/virtio/vringh_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8dc32b2

Please sign in to comment.