aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-12-22 17:12:33 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-01-16 17:52:35 +0100
commit9f57061c3555690af352b6abf9213471d70a1327 (patch)
treefae7631dacc4a28ea887815f1313bc6a3649bb89 /arch_init.c
parentd525ffabab9e75a76cbeda2be43bb7988e304012 (diff)
downloadqemu-9f57061c3555690af352b6abf9213471d70a1327.zip
qemu-9f57061c3555690af352b6abf9213471d70a1327.tar.gz
qemu-9f57061c3555690af352b6abf9213471d70a1327.tar.bz2
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 <pbonzini@redhat.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c13
1 files changed, 0 insertions, 13 deletions
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