[Qemu-devel] [PATCH 1/6] libqos: fix typo in virtio.h QVirtQueue->used comment

Stefan Hajnoczi posted 6 patches 8 years, 7 months ago
[Qemu-devel] [PATCH 1/6] libqos: fix typo in virtio.h QVirtQueue->used comment
Posted by Stefan Hajnoczi 8 years, 7 months ago
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


Re: [Qemu-devel] [PATCH 1/6] libqos: fix typo in virtio.h QVirtQueue->used comment
Posted by Fam Zheng 8 years, 7 months ago
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>