Message ID | 20170628184724.21378-2-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
On Wed, 06/28 19:47, Stefan Hajnoczi wrote: > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> > --- > tests/libqos/virtio.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/libqos/virtio.h b/tests/libqos/virtio.h > index 3397a08..829de5e 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; > -- > 2.9.4 > > Reviewed-by: Fam Zheng <famz@redhat.com>
diff --git a/tests/libqos/virtio.h b/tests/libqos/virtio.h index 3397a08..829de5e 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;
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> --- tests/libqos/virtio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)