mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-02 15:02:02 -06:00
tests: acpi: do not require IASL for dumping AML blobs
IASL isn't needed when dumping ACPI tables from guest for rebuild purposes. So move this part out from IASL branch. Makes rebuild-expected-aml.sh work without IASL installed on host. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-Id: <20190708092410.11167-2-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
2bbadb08ce
commit
ab31b3373e
1 changed files with 4 additions and 6 deletions
|
@ -597,13 +597,11 @@ static void test_acpi_one(const char *params, test_data *data)
|
||||||
test_acpi_rxsdt_table(data);
|
test_acpi_rxsdt_table(data);
|
||||||
test_acpi_fadt_table(data);
|
test_acpi_fadt_table(data);
|
||||||
|
|
||||||
if (iasl) {
|
|
||||||
if (getenv(ACPI_REBUILD_EXPECTED_AML)) {
|
if (getenv(ACPI_REBUILD_EXPECTED_AML)) {
|
||||||
dump_aml_files(data, true);
|
dump_aml_files(data, true);
|
||||||
} else {
|
} else if (iasl) {
|
||||||
test_acpi_asl(data);
|
test_acpi_asl(data);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO: make SMBIOS tests work with UEFI firmware,
|
* TODO: make SMBIOS tests work with UEFI firmware,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue