[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build V
From: |
Ani Sinha |
Subject: |
Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors |
Date: |
Mon, 7 Nov 2022 18:16:25 +0530 |
On Mon, Nov 7, 2022 at 6:03 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Sun, Nov 06, 2022 at 10:16:41PM +0100, Bernhard Beschow wrote:
> >
> >
> > On Sat, Nov 5, 2022 at 6:45 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > From: Igor Mammedov <imammedo@redhat.com>
> >
> > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> > Message-Id: <20221017102146.2254096-2-imammedo@redhat.com>
> > Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > NB: we do not expect any functional change in
> > any ACPI tables with this change. It's only a refactoring.
> >
> > Reviewed-by: Ani Sinha <ani@anisinha.ca>
> > ---
> > hw/display/vga_int.h | 2 ++
> > hw/display/acpi-vga-stub.c | 7 +++++++
> > hw/display/acpi-vga.c | 26 ++++++++++++++++++++++++++
> > hw/display/vga-pci.c | 4 ++++
> > hw/i386/acpi-build.c | 26 +-------------------------
> > hw/display/meson.build | 17 +++++++++++++++++
> > 6 files changed, 57 insertions(+), 25 deletions(-)
> > create mode 100644 hw/display/acpi-vga-stub.c
> > create mode 100644 hw/display/acpi-vga.c
> >
> >
> > With this "qemu:qtest+qtest-hppa / qtest-hppa/display-vga-test" fails due to
> > the symbol "aml_return" being undefined:
> >
> > # starting QEMU: exec ./qemu-system-hppa -qtest unix:/tmp/qtest-515650.sock
> > -qtest-log /dev/null -chardev socket,path=/tmp/qtest-515650.qmp,id=char0
> > -mon
> > chardev=char0,mode=control -display none -vga none -device virtio-vga -accel
> > qtest
> > ----------------------------------- stderr
> > -----------------------------------
> > Failed to open module: qemu/build/qemu-bundle/usr/lib/qemu/
> > hw-display-virtio-vga.so: undefined symbol: aml_return
> > qemu-system-hppa: -device virtio-vga: 'virtio-vga' is not a valid device
> > model
> > name
> > Broken pipe
> > ../src/tests/qtest/libqtest.c:179: kill_qemu() tried to terminate QEMU
> > process
> > but encountered exit status 1 (expected 0)
> >
> > (test program exited with status code -6)
> >
> > Best regards,
> > Bernhard
>
> It's unfortunate that it doesn't reproduce for me :(
To reproduce:
- docker pull registry.gitlab.com/qemu-project/qemu/qemu/centos8:latest
- configure line:
../configure --enable-werror --disable-docs --disable-nettle
--enable-gcrypt --enable-fdt=system --enable-modules
--enable-trace-backends=dtrace --enable-docs --enable-vfio-user-server
--target-list="ppc64-softmmu or1k-softmmu s390x-softmmu x86_64-softmmu
rx-softmmu sh4-softmmu nios2-softmmu"
- # make
- # QTEST_QEMU_BINARY=./qemu-system-or1k ./tests/qtest/qos-test
failed to open module:
/build/qemu/qemu/build/qemu-bundle/usr/local/lib64/qemu/hw-display-virtio-vga.so:
undefined symbol: aml_return
qemu-system-or1k: ../util/error.c:59: error_setv: Assertion `*errp ==
NULL' failed.
Broken pipe
../tests/qtest/libqtest.c:188: kill_qemu() detected QEMU death from
signal 6 (Aborted) (core dumped)
Aborted (core dumped)
- [PULL v3 25/81] tests/acpi: virt: update ACPI MADT and FADT binaries, (continued)
- [PULL v3 25/81] tests/acpi: virt: update ACPI MADT and FADT binaries, Michael S. Tsirkin, 2022/11/05
- [PULL v3 31/81] hw/virtio/virtio-iommu-pci: Enforce the device is plugged on the root bus, Michael S. Tsirkin, 2022/11/05
- [PULL v3 34/81] virtio: introduce virtio_queue_enable(), Michael S. Tsirkin, 2022/11/05
- [PULL v3 33/81] virtio: introduce virtio_queue_reset(), Michael S. Tsirkin, 2022/11/05
- [PULL v3 32/81] virtio: introduce __virtio_queue_reset(), Michael S. Tsirkin, 2022/11/05
- [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Michael S. Tsirkin, 2022/11/05
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Bernhard Beschow, 2022/11/06
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Michael S. Tsirkin, 2022/11/07
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors,
Ani Sinha <=
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Michael S. Tsirkin, 2022/11/07
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Bernhard Beschow, 2022/11/07
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, Michael S. Tsirkin, 2022/11/07
- Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors, B, 2022/11/08
[PULL v3 51/81] acpi: pc/q35: drop ad-hoc PCI-ISA bridge AML routines and let bus ennumeration generate AML, Michael S. Tsirkin, 2022/11/05
[PULL v3 59/81] tests: acpi: update expected blobs, Michael S. Tsirkin, 2022/11/05
[PULL v3 36/81] virtio-pci: support queue reset, Michael S. Tsirkin, 2022/11/05
[PULL v3 43/81] virtio-net: support queue reset, Michael S. Tsirkin, 2022/11/05
[PULL v3 47/81] virtio-rng-pci: Allow setting nvectors, so we can use MSI-X, Michael S. Tsirkin, 2022/11/05
[PULL v3 48/81] vhost-user: Fix out of order vring host notification handling, Michael S. Tsirkin, 2022/11/05