diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2018-01-08 19:47:11 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2018-01-18 21:52:39 +0200 |
| commit | 69aff030643c1616474458cf7e19fc15a5f8f462 (patch) | |
| tree | a4bfd1d96c0cc87889b35f75f14dd73d2a45f673 /hw/core/null-machine.c | |
| parent | 24e34754eb78064abafd3f9a59bb35a0e2bcf406 (diff) | |
| download | focaccia-qemu-69aff030643c1616474458cf7e19fc15a5f8f462.tar.gz focaccia-qemu-69aff030643c1616474458cf7e19fc15a5f8f462.zip | |
vhost-user: fix misaligned access to payload
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 <mst@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions