[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/13] disassemble-aml: -o actually works
From: |
Michael S. Tsirkin |
Subject: |
[PULL 04/13] disassemble-aml: -o actually works |
Date: |
Thu, 27 Aug 2020 09:40:26 -0400 |
Turns out that option was borken due to weird iasl
command line handling. Fix it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
tests/data/acpi/disassemle-aml.sh | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/tests/data/acpi/disassemle-aml.sh
b/tests/data/acpi/disassemle-aml.sh
index 1d8a4d0301..253b7620a0 100755
--- a/tests/data/acpi/disassemle-aml.sh
+++ b/tests/data/acpi/disassemle-aml.sh
@@ -42,11 +42,16 @@ do
else
extra=""
fi
- asl=${aml}.dsl
if [[ "${outdir}" ]];
then
- asl="${outdir}"/${machine}/${asl}
+ # iasl strips an extension from prefix if there.
+ # since we have some files with . in the name, the
+ # last component gets interpreted as an extension:
+ # add another extension to work around that.
+ prefix="-p ${outdir}/${aml}.dsl"
+ else
+ prefix=""
fi
- iasl -d -p ${asl} ${extra} ${aml}
+ iasl ${extra} ${prefix} -d ${aml}
done
done
--
MST
- [PULL 00/13] virtio,pc,acpi: features, fixes, Michael S. Tsirkin, 2020/08/27
- [PULL 01/13] acpi: allow DSDT changes, Michael S. Tsirkin, 2020/08/27
- [PULL 02/13] i386/acpi: fix inconsistent QEMU/OVMF device paths, Michael S. Tsirkin, 2020/08/27
- [PULL 03/13] arm/acpi: fix an out of spec _UID for PCI root, Michael S. Tsirkin, 2020/08/27
- [PULL 04/13] disassemble-aml: -o actually works,
Michael S. Tsirkin <=
- [PULL 05/13] acpi: update expected DSDT files with _UID changes, Michael S. Tsirkin, 2020/08/27
- [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Michael S. Tsirkin, 2020/08/27
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Igor Mammedov, 2020/08/27
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Ani Sinha, 2020/08/27
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Igor Mammedov, 2020/08/28
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Ani Sinha, 2020/08/28
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Julia Suvorova, 2020/08/28
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Ani Sinha, 2020/08/28
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Julia Suvorova, 2020/08/28
- Re: [PULL 06/13] Introduce a new flag for i440fx to disable PCI hotplug on the root bus, Ani Sinha, 2020/08/30