On Mon, Jan 08, 2018 at 07:50:44PM +0200, Michael S. Tsirkin wrote: > We currently take a pointer to a misaligned field of a packed structure. > clang reports this as a build warning. > A fix is to keep payload in a separate structure, and access is it > from there using a vectored write. > > Signed-off-by: Michael S. Tsirkin <m...@redhat.com> > --- > hw/virtio/vhost-user.c | 39 ++++++++++++++++++++++++--------------- > 1 file changed, 24 insertions(+), 15 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature