Re: [PATCH v4 1/2] vhost-vsock: fix endianness problem
On Fri, 11 Mar 2016 17:45:23 +0100 Claudio Imbrenda <> 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 <> > --- > hw/virtio/vhost-vsock.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) Reviewed-by: Cornelia Huck <>