From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 00/33] pc, pci, virtio: features, fixes, cleanups
Date: Tue, 16 Jan 2018 12:59:09 +0000 [thread overview]
Message-ID: <20180116125909.GA2520@work-vm> (raw)
In-Reply-To: <CAFEAcA9xYNvJ5rwog7HCV=WYfC8n5aR=xc0i9Uc3WS3xkmz7tw@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 16 January 2018 at 04:46, Michael S. Tsirkin <mst@redhat.com> wrote:
> > A large pull due to patch buildup over the holiday period.
> > Most notable here is probably the addition of vhost-user-blk.
> >
> > The following changes since commit f521eeee3bd060b460c99e605472b7e03967db43:
> >
> > Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20180115' into staging (2018-01-15 13:17:47 +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 631ae6adb1fcea786e0db8c6f1b19570bad0f90c:
> >
> > vhost: remove assertion to prevent crash (2018-01-16 06:36:19 +0200)
> >
> > ----------------------------------------------------------------
> > pc, pci, virtio: features, fixes, cleanups
> >
> > A bunch of fixes, cleanus and new features all over the place.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
>
> Build failure, 32 bit:
>
> /home/peter.maydell/qemu/hw/virtio/vhost.c: In function 'vhost_commit':
> /home/peter.maydell/qemu/hw/virtio/vhost.c:666:28: error: cast to
> pointer from integer of different size [-Werror=int-to-pointer-cast]
> (void *)dev->mem->regions[i].userspace_addr,
> ^
Hmm yes that's from my 'vhost: Simplify ring verficiation checks'
and will need a (uintptr_t) adding.
Dave
>
> Test failures, ppc64, s390x, sparc64 hosts (so likely all bigendian):
>
> TEST: tests/device-introspect-test... (pid=57202)
> /s390x/device/introspect/list: OK
> /s390x/device/introspect/list-fields: OK
> /s390x/device/introspect/none: OK
> /s390x/device/introspect/abstract: OK
> /s390x/device/introspect/concrete: **
> ERROR:/home/linux1/qemu/qom/object.c:372:object_initialize_with_type:
> assertion failed: (type != NULL)
> Broken pipe
> FAIL
> GTester: last random seed: R02S51c433c8a3c2fab5dd7233079b9dac7f
> (pid=57214)
> /s390x/device/introspect/abstract-interfaces: OK
> FAIL: tests/device-introspect-test
>
> Looks like vhost-user-blk-pci is at fault:
>
> $ gdb --args s390x-softmmu/qemu-system-s390x -device
> vhost-user-blk-pci -display none
>
> Thread 1 "qemu-system-s39" received signal SIGABRT, Aborted.
> 0x000003ffe91381b8 in __GI_raise (sig=sig@entry=6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> (gdb) bt
> #0 0x000003ffe91381b8 in __GI_raise (sig=sig@entry=6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> #1 0x000003ffe9139726 in __GI_abort () at abort.c:89
> #2 0x000003ffe96f9d1c in g_assertion_message () from
> /lib/s390x-linux-gnu/libglib-2.0.so.0
> #3 0x000003ffe96f9dc6 in g_assertion_message_expr () from
> /lib/s390x-linux-gnu/libglib-2.0.so.0
> #4 0x000002aa002f7f82 in object_initialize_with_type (data=<optimized
> out>, size=<optimized out>,
> type=<optimized out>) at /home/linux1/qemu/qom/object.c:372
> #5 0x000002aa0018f84e in virtio_instance_init_common
> (proxy_obj=0x2aa00d49e10, data=0x2aa00d51f60,
> vdev_size=<optimized out>, vdev_name=<optimized out>) at
> /home/linux1/qemu/hw/virtio/virtio.c:2232
> #6 0x000002aa002881fe in vhost_user_blk_pci_instance_init (obj=0x2aa00d49e10)
> at /home/linux1/qemu/hw/virtio/virtio-pci.c:2018
> #7 0x000002aa002f7e02 in object_initialize_with_type
> (data=data@entry=0x2aa00d49e10, size=34200,
> type=type@entry=0x2aa00c87c90) at /home/linux1/qemu/qom/object.c:384
> #8 0x000002aa002f7fd8 in object_new_with_type (type=0x2aa00c87c90) at
> /home/linux1/qemu/qom/object.c:492
> #9 0x000002aa001fb344 in qdev_device_add (opts=<optimized out>,
> errp=<optimized out>)
> at /home/linux1/qemu/qdev-monitor.c:612
> #10 0x000002aa001fe2fc in device_init_func (opaque=<optimized out>,
> opts=<optimized out>,
> errp=<optimized out>) at /home/linux1/qemu/vl.c:2387
> #11 0x000002aa003f59b6 in qemu_opts_foreach (list=<optimized out>,
> func=0x2aa001fe2c8 <device_init_func>,
> opaque=0x0, errp=0x0) at /home/linux1/qemu/util/qemu-option.c:1070
> #12 0x000002aa000ebc40 in main (argc=<optimized out>, argv=<optimized
> out>, envp=<optimized out>)
> at /home/linux1/qemu/vl.c:4648
>
> (required QOM type not compiled in ?)
>
> thanks
> -- PMM
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
prev parent reply other threads:[~2018-01-16 12:59 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 4:46 [Qemu-devel] [PULL 00/33] pc, pci, virtio: features, fixes, cleanups Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 01/33] MAINTAINERS: Add myself as maintainer to X86 machines Michael S. Tsirkin
2018-01-16 5:55 ` Thomas Huth
2018-01-16 4:46 ` [Qemu-devel] [PULL 02/33] vhost-user: add new vhost user messages to support virtio config space Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 03/33] vhost-user-blk: introduce a new vhost-user-blk host device Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 04/33] contrib/libvhost-user: enable virtio config space messages Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 05/33] contrib/vhost-user-blk: introduce a vhost-user-blk sample application Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 06/33] qemu: add a cleanup callback function to EventNotifier Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 07/33] virtio: postpone the execution of event_notifier_cleanup function Michael S. Tsirkin
2018-01-16 4:46 ` [Qemu-devel] [PULL 08/33] virtio: improve virtio devices initialization time Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 09/33] pci/shpc: Move function to generic header file Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 10/33] vhost-user: fix multiple queue specification Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 11/33] intel-iommu: Redefine macros to enable supporting 48 bit address width Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 12/33] intel-iommu: Extend address width to 48 bits Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 13/33] hw/pci-bridge: fix QEMU crash because of pcie-root-port Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 14/33] ACPI/unit-test: Add a testcase for RAM allocation in numa node Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 15/33] hw/acpi-build: Make next_base easy to follow Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 16/33] vhost-user-test: fix features mask Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 17/33] vhost-user-test: extract read-guest-mem test from main loop Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 18/33] vhost-user-test: setup virtqueues in all tests Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 19/33] vhost-user-test: make features mask an init_virtio_dev() argument Michael S. Tsirkin
2018-01-16 4:47 ` [Qemu-devel] [PULL 20/33] vhost-user-test: use init_virtio_dev in multiqueue test Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 21/33] vhost: Build temporary section list and deref after commit Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 22/33] vhost: Move log_dirty check Michael S. Tsirkin
2018-01-16 13:27 ` Igor Mammedov
2018-01-16 4:48 ` [Qemu-devel] [PULL 23/33] vhost: Simplify ring verification checks Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 24/33] vhost: Merge sections added to temporary list Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 25/33] x86_iommu: Move machine check to x86_iommu_realize() Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 26/33] x86_iommu: check if machine has PCI bus Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 27/33] tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table() Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 28/33] tests: acpi: init table descriptor in test_dst_table() Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 29/33] tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its usage Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 30/33] tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usage Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 31/33] vhost-user: factor out msg head and payload Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 32/33] vhost-user: fix misaligned access to payload Michael S. Tsirkin
2018-01-16 4:48 ` [Qemu-devel] [PULL 33/33] vhost: remove assertion to prevent crash Michael S. Tsirkin
2018-01-16 12:24 ` [Qemu-devel] [PULL 00/33] pc, pci, virtio: features, fixes, cleanups Peter Maydell
2018-01-16 12:58 ` Peter Maydell
2018-01-16 12:59 ` Dr. David Alan Gilbert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180116125909.GA2520@work-vm \
--to=dgilbert@redhat.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).