[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 00/22] virtio, vhost, pci, pc: features, cleanups
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL 00/22] virtio, vhost, pci, pc: features, cleanups |
Date: |
Fri, 16 Mar 2018 16:31:49 +0000 |
On 13 March 2018 at 21:45, Michael S. Tsirkin <address@hidden> wrote:
> The following changes since commit 026aaf47c02b79036feb830206cfebb2a726510d:
>
> Merge remote-tracking branch
> 'remotes/ehabkost/tags/python-next-pull-request' into staging (2018-03-13
> 16:26:44 +0000)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
>
> for you to fetch changes up to 8750b78fcfcb6f49bf037242624953195ada69a8:
>
> test/acpi-test-data: add ACPI tables for dimmpxm test (2018-03-13 23:09:51
> +0200)
>
> ----------------------------------------------------------------
> virtio,vhost,pci,pc: features, cleanups
>
> SRAT tables for DIMM devices
> new virtio net flags for speed/duplex
> cleanups in pci and vhost
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
Hi. I'm afraid this triggers a lot of clang runtime sanitizer warnings
about misaligned accesses:
TEST: tests/vhost-user-test... (pid=1391)
/i386/vhost-user/read-guest-mem:
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:341:22:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:341:22:
runtime error: store to misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:351:22:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:351:22:
runtime error: load of misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:356:31:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:356:31:
runtime error: load of misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:356:18:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:356:13:
runtime error: member access within misaligned address 0x7ffdfe94ab3c
for type 'VhostUserMemoryRegion' (aka 'struct VhostUserMemoryRegion'),
which requires 8 byte alignment
0x7ffdfe94ab3c: note: pointer points here
d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00 00 00 01 93 a3 c7 c9 55
00 00 d0 ad 94 fe fd 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:356:41:
runtime error: store to misaligned address 0x7ffdfe94ab4c for type
'uint64_t' (aka 'unsigned long'), which requires 8 byte alignment
0x7ffdfe94ab4c: note: pointer points here
01 93 a3 c7 c9 55 00 00 d0 ad 94 fe fd 7f 00 00 84 61 36 40 20 7f
00 00 40 5a ab c7 c9 55 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:357:31:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:357:31:
runtime error: load of misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:357:18:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 00 01 93 a3 c7 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:357:13:
runtime error: member access within misaligned address 0x7ffdfe94ab3c
for type 'VhostUserMemoryRegion' (aka 'struct VhostUserMemoryRegion'),
which requires 8 byte alignment
0x7ffdfe94ab3c: note: pointer points here
d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00 00 00 01 93 a3 c7 00 90
05 11 20 7f 00 00 fd 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:357:41:
runtime error: store to misaligned address 0x7ffdfe94ab44 for type
'uint64_t' (aka 'unsigned long'), which requires 8 byte alignment
0x7ffdfe94ab44: note: pointer points here
40 00 00 00 00 00 00 00 01 93 a3 c7 00 90 05 11 20 7f 00 00 fd 7f
00 00 84 61 36 40 20 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:358:31:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:358:31:
runtime error: load of misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:358:18:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:358:13:
runtime error: member access within misaligned address 0x7ffdfe94ab3c
for type 'VhostUserMemoryRegion' (aka 'struct VhostUserMemoryRegion'),
which requires 8 byte alignment
0x7ffdfe94ab3c: note: pointer points here
d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00 00 20 00 00 00 00 00 90
05 11 20 7f 00 00 fd 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:358:41:
runtime error: store to misaligned address 0x7ffdfe94ab3c for type
'uint64_t' (aka 'unsigned long'), which requires 8 byte alignment
0x7ffdfe94ab3c: note: pointer points here
d0 94 a3 c7 c9 55 00 00 40 00 00 00 00 00 00 20 00 00 00 00 00 90
05 11 20 7f 00 00 fd 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:359:31:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 00 00 00 00 00 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:359:31:
runtime error: load of misaligned address 0x7ffdfe94ab34 for type
'uint32_t' (aka 'unsigned int'), which requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 00 00 00 00 00 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:359:18:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 00 00 00 00 00 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:359:13:
runtime error: member access within misaligned address 0x7ffdfe94ab3c
for type 'VhostUserMemoryRegion' (aka 'struct VhostUserMemoryRegion'),
which requires 8 byte alignment
0x7ffdfe94ab3c: note: pointer points here
d0 94 a3 c7 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 90
05 11 20 7f 00 00 fd 7f 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:359:41:
runtime error: store to misaligned address 0x7ffdfe94ab54 for type
'uint64_t' (aka 'unsigned long'), which requires 8 byte alignment
0x7ffdfe94ab54: note: pointer points here
20 7f 00 00 fd 7f 00 00 84 61 36 40 20 7f 00 00 40 5a ab c7 c9 55
00 00 00 00 00 00 00 00 00 00
^
/home/petmay01/linaro/qemu-for-merges/hw/virtio/vhost-user.c:360:22:
runtime error: member access within misaligned address 0x7ffdfe94ab34
for type 'VhostUserMemory' (aka 'struct VhostUserMemory'), which
requires 8 byte alignment
0x7ffdfe94ab34: note: pointer points here
40 00 00 00 00 00 00 00 d0 94 a3 c7 00 00 00 00 00 00 00 00 00 00
00 20 00 00 00 00 00 90 05 11
^
OK
and similarly for /i386/vhost-user/migrate and for the x86-64 versions
of the tests.
thanks
-- PMM
- [Qemu-devel] [PULL 14/22] vhost: used_memslots refactoring, (continued)
- [Qemu-devel] [PULL 14/22] vhost: used_memslots refactoring, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 12/22] virt_arm: acpi: reuse common build_fadt(), Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 11/22] acpi: move build_fadt() from i386 specific to generic ACPI source, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 17/22] hw/pci: remove obsolete PCIDevice->init(), Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 18/22] pc-dimm: make qmp_pc_dimm_device_list() sort devices by address, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 16/22] standard-headers: update virtio_net.h, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 19/22] qmp: distinguish PC-DIMM and NVDIMM in MemoryDeviceInfoList, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 21/22] tests/bios-tables-test: add test cases for DIMM proximity, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 20/22] hw/acpi-build: build SRAT memory affinity structures for DIMM devices, Michael S. Tsirkin, 2018/03/13
- [Qemu-devel] [PULL 22/22] test/acpi-test-data: add ACPI tables for dimmpxm test, Michael S. Tsirkin, 2018/03/13
- Re: [Qemu-devel] [PULL 00/22] virtio, vhost, pci, pc: features, cleanups,
Peter Maydell <=