diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-07 16:01:59 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-11 20:03:26 +0100 |
commit | bb99b92a6b1828fe7e37497ad1aac157cdcb36b5 (patch) | |
tree | dd2e6248c95654b872a5caf844ca949df45ede1d /hw/acpi/acpi-stub.c | |
parent | e6ffea40e221d26a213a59cba2598e15f01facf3 (diff) | |
download | qemu-bb99b92a6b1828fe7e37497ad1aac157cdcb36b5.zip qemu-bb99b92a6b1828fe7e37497ad1aac157cdcb36b5.tar.gz qemu-bb99b92a6b1828fe7e37497ad1aac157cdcb36b5.tar.bz2 |
hw/i386/fw_cfg: Check ACPI availability with acpi_builtin()
Define acpi_tables / acpi_tables_len stubs, then replace the
compile-time CONFIG_ACPI check in fw_cfg.c by a runtime one.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20250307223949.54040-4-philmd@linaro.org>
Diffstat (limited to 'hw/acpi/acpi-stub.c')
-rw-r--r-- | hw/acpi/acpi-stub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/acpi/acpi-stub.c b/hw/acpi/acpi-stub.c index 790bf50..fd0b62f 100644 --- a/hw/acpi/acpi-stub.c +++ b/hw/acpi/acpi-stub.c @@ -21,6 +21,9 @@ #include "qemu/osdep.h" #include "hw/acpi/acpi.h" +char unsigned *acpi_tables; +size_t acpi_tables_len; + void acpi_table_add(const QemuOpts *opts, Error **errp) { g_assert_not_reached(); |