]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors
authorIgor Mammedov <imammedo@redhat.com>
Mon, 17 Oct 2022 10:21:36 +0000 (12:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 19:00:29 +0000 (14:00 -0500)
commitcfead31326409dad187024de1bf7b40d7a86737e
tree435be92bb32f062ec518a476bf27d4c3f884a006
parentbd437c960f2b071f7e8ba9bd34af8e2537cd6627
acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors

NB:
We do not expect any functional change in any ACPI tables with this
change. It's only a refactoring.

NB2:
Some targets (or1k) do not support acpi and CONFIG_ACPI is off for them.
However, modules are reused between all architectures so CONFIG_ACPI is
on.  For those architectures, dummy stub function definitions help to
resolve symbols.  This change uses more of these and so it adds a couple
of dummy stub definitions so that symbols for those can be resolved.

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>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
CC: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20221107152744.868434-1-ani@anisinha.ca>
hw/acpi/aml-build-stub.c
hw/display/acpi-vga-stub.c [new file with mode: 0644]
hw/display/acpi-vga.c [new file with mode: 0644]
hw/display/meson.build
hw/display/vga-pci.c
hw/display/vga_int.h
hw/i386/acpi-build.c