qemu/tests/data/acpi
Michael S. Tsirkin ee92a56b08 tests/data/acpi/virt: drop (most) duplicate files.
When virt ACPI files were added, lots of duplicates were created because
we forgot that there's a no-prefix fallback: e.g. if
tests/data/acpi/virt/APIC.memhp is not there then test will use
tests/data/acpi/virt/APIC.

Drop these.

These were found with
$find tests/data/acpi/ -type f -exec sha256sum '{}' ';'|sort -d|uniq -w 64 --all-repeated=separate
(trick: -d does a dictionary sort so a no-suffix file ends up first).

Note: there are still a bunch of issues with duplicates left even after this.

First pc and q35 are often identical.
Second, sometimes files are identical but not identical to the default
fallback, e.g.
tests/data/acpi/pc/SLIT.cphp and tests/data/acpi/pc/SLIT.memhp
or
tests/data/acpi/q35/HMAT.acpihmat-noinitiator and tests/data/acpi/virt/HMAT.acpihmatvirt

Finding a way to deduplicate these is still a TODO item - softlinks
maybe?

We also need to make rebuild-expected-aml.sh smarter about not creating
these duplicates in the 1st place.

And maybe we should use softlinks instead of relying on a fallback
to make it explicit what version does each test expect?

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-03-02 19:13:52 -05:00
..
microvm ACPI ERST: step 6 of bios-tables-test.c 2022-02-06 04:33:50 -05:00
pc tests: acpi: update expected blobs 2023-01-28 06:21:30 -05:00
q35 tests: acpi: Update q35/DSDT.cxl for removed duplicate UID 2023-03-02 19:13:52 -05:00
virt tests/data/acpi/virt: drop (most) duplicate files. 2023-03-02 19:13:52 -05:00
disassemle-aml.sh disassemble-aml: -o actually works 2020-08-27 08:27:48 -04:00
rebuild-expected-aml.sh rebuild-expected-aml.sh: allow partial target list 2021-10-20 04:44:05 -04:00