From 9f57061c3555690af352b6abf9213471d70a1327 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 22 Dec 2016 17:12:33 +0100 Subject: acpi: filter based on CONFIG_ACPI_X86 rather than TARGET Copy the mechanism of hw/smbios/smbios-stub.c to implement an ACPI-stub instead, so that -acpitable can be later extended to ARM. Signed-off-by: Paolo Bonzini --- arch_init.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'arch_init.c') diff --git a/arch_init.c b/arch_init.c index 34e7694..6c4e287 100644 --- a/arch_init.c +++ b/arch_init.c @@ -234,19 +234,6 @@ void audio_init(void) } } -void do_acpitable_option(const QemuOpts *opts) -{ -#ifdef TARGET_I386 - Error *err = NULL; - - acpi_table_add(opts, &err); - if (err) { - error_reportf_err(err, "Wrong acpi table provided: "); - exit(1); - } -#endif -} - int kvm_available(void) { #ifdef CONFIG_KVM -- cgit v1.1