On 7/7/20 3:42 PM, Gerd Hoffmann wrote: > The following changes since commit 7623b5ba017f61de5d7c2bba12c6feb3d55091b1: > > Merge remote-tracking branch > 'remotes/vivier2/tags/linux-user-for-5.1-pull-request' into staging > (2020-07-06 11:40:10 +0100) > > are available in the Git repository at: > > git://git.kraxel.org/qemu tags/modules-20200707-pull-request > > for you to fetch changes up to ef138c77249771081d8c2d09b8e729f7e92cdf28: > > chardev: enable modules, use for braille (2020-07-07 15:33:59 +0200) > > ---------------------------------------------------------------- > qom: add support for qom objects in modules. > build some devices (qxl, virtio-gpu, ccid, usb-redir) as modules. > build braille chardev as module. > > v2: more verbose comment for "build: fix device module builds" patch. > > note: qemu doesn't rebuild objects on cflags changes (specifically > -fPIC being added when code is switched from builtin to module). > Workaround for resulting build errors: "make clean", rebuild. > > ---------------------------------------------------------------- > > Gerd Hoffmann (10): > module: qom module support > object: qom module support > qdev: device module support > build: fix device module builds > ccid: build smartcard as module > usb: build usb-redir as module > vga: build qxl as module > vga: build virtio-gpu only once > vga: build virtio-gpu as module > chardev: enable modules, use for braille > > Makefile.objs | 2 ++ > Makefile.target | 14 +++++++++ > include/qemu/module.h | 2 ++ > include/qom/object.h | 12 +++++++ > chardev/char.c | 2 +- > hw/core/qdev.c | 6 ++-- > qdev-monitor.c | 5 +-- > qom/object.c | 14 +++++++++ > qom/qom-qmp-cmds.c | 3 +- > softmmu/vl.c | 4 +-- > util/module.c | 67 ++++++++++++++++++++++++++++++++++++++++ > chardev/Makefile.objs | 5 ++- > hw/Makefile.objs | 2 ++ > hw/display/Makefile.objs | 28 ++++++++++------- > hw/usb/Makefile.objs | 13 +++++--- > 15 files changed, 155 insertions(+), 24 deletions(-) >
This is making Travis-CI fail: https://travis-ci.org/github/philmd/qemu/jobs/706941688 MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=s390x-softmmu/qemu-system-s390x QTEST_QEMU_IMG=qemu-img tests/qtest/device-introspect-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="device-introspect-test" Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-qxl.so: undefined symbol: vga_ioport_read Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-virtio-gpu.so: undefined symbol: pci_std_vga_mmio_region_init PASS 1 device-introspect-test /s390x/device/introspect/list Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-qxl.so: undefined symbol: vga_ioport_read Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-virtio-gpu.so: undefined symbol: pci_std_vga_mmio_region_init PASS 2 device-introspect-test /s390x/device/introspect/list-fields PASS 3 device-introspect-test /s390x/device/introspect/none PASS 4 device-introspect-test /s390x/device/introspect/abstract Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-qxl.so: undefined symbol: vga_ioport_read Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-virtio-gpu.so: undefined symbol: pci_std_vga_mmio_region_init PASS 5 device-introspect-test /s390x/device/introspect/abstract-interfaces Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-qxl.so: undefined symbol: vga_ioport_read Failed to open module: /home/travis/build/philmd/qemu/build/s390x-softmmu/../hw-display-virtio-gpu.so: undefined symbol: pci_std_vga_mmio_region_init missing object type 'virtio-gpu-device' Broken pipe /home/travis/build/philmd/qemu/tests/qtest/libqtest.c:175: kill_qemu() detected QEMU death from signal 6 (Aborted) (core dumped) Aborted (core dumped) ERROR - too few tests run (expected 6, got 5) /home/travis/build/philmd/qemu/tests/Makefile.include:648: recipe for target 'check-qtest-s390x' failed make: *** [check-qtest-s390x] Error 1