OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [PATCH v4 1/2] vhost-vsock: fix endianness problem


On Fri, 11 Mar 2016 17:45:23 +0100
Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> wrote:

> Use the proper endianness-aware virtio accessor functions to initialize the
> vsock config space struct fields.
> 
> Explicitly initialize the struct to zero, in case new members are added later.
> 
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
> ---
>  hw/virtio/vhost-vsock.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]