On Tue, Jan 17, 2017 at 10:59:24AM +0800, Longpeng(Mike) wrote:
> As qvring_indirect_desc_setup() wouldn't initialize last vring_desc,
> so it's filled with dirty data, this might cause virtio backend broken.
> 
> For example, the last bit of this vring_desc's flags might be 1, so
> virtqueue_read_next_desc() would report "Desc next is ***".
> 
> Signed-off-by: Longpeng(Mike) <[email protected]>
> 
> ---
> Changes since v1:
>     - use writel() for @len as it's 32 bits long. [Stefan]
> 
> ---
>  tests/libqos/virtio.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next

Stefan

Attachment: signature.asc
Description: PGP signature

Reply via email to