summaryrefslogtreecommitdiff
path: root/tests/libqos
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2017-06-28 19:47:19 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2017-06-30 11:03:45 +0100
commitafbccba608cec3e78c8eb31f6b7d2cd0c9908e05 (patch)
treed287b6f9c31351ce81ddd4c75f79af887f15d3c8 /tests/libqos
parenta576ceac393b8d7490224bf2be65e0eb8f44f556 (diff)
downloadqemu-afbccba608cec3e78c8eb31f6b7d2cd0c9908e05.tar.gz
libqos: fix typo in virtio.h QVirtQueue->used comment
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Tested-by: Eric Blake <eblake@redhat.com> Tested-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20170628184724.21378-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/libqos')
-rw-r--r--tests/libqos/virtio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqos/virtio.h b/tests/libqos/virtio.h
index 3397a080e9..829de5eb35 100644
--- a/tests/libqos/virtio.h
+++ b/tests/libqos/virtio.h
@@ -26,7 +26,7 @@ typedef struct QVirtioDevice {
typedef struct QVirtQueue {
uint64_t desc; /* This points to an array of struct vring_desc */
uint64_t avail; /* This points to a struct vring_avail */
- uint64_t used; /* This points to a struct vring_desc */
+ uint64_t used; /* This points to a struct vring_used */
uint16_t index;
uint32_t size;
uint32_t free_head;