On 10/29/23 02:03, Joelle van Dyne wrote:
Signed-off-by: Joelle van Dyne <j...@getutm.app>
I see this error here with the test cases:
| 364/377 ERROR:../tests/qtest/bios-tables-test.c:535:test_acpi_asl:
assertion failed: (all_tables_match) ERROR
364/377 qemu:qtest+qtest-x86_64 /
qtest-x86_64/bios-tables-test ERROR 34.83s killed
by signal 6 SIGABRT
>>> QTEST_QEMU_BINARY=./qemu-system-x86_64 MALLOC_PERTURB_=200
QTEST_QEMU_IMG=./qemu-img
G_TEST_DBUS_DAEMON=/home/stefanb/qemu-tpm/tests/dbus-vmstate-daemon.sh
QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon
PYTHON=/home/stefanb/qemu-tpm/build/pyvenv/bin/python3
/home/stefanb/qemu-tpm/build/tests/qtest/bios-tables-test --tap -k
--------------------------------------------------------------- 8<
---------------------------------------------------------------
$ diff tests/data/acpi/virt/TPM2.crb-device.dsl /tmp/aml-98C6D2.dsl
6c6
< * Disassembly of tests/data/acpi/virt/TPM2.crb-device.tpm2, Mon Oct
30 18:30:00 2023
---
> * Disassembly of /tmp/aml-98C6D2, Mon Oct 30 18:29:29 2023
16c16
< [009h 0009 1] Checksum : BA
---
> [009h 0009 1] Checksum : C2
30c30
< [044h 0068 8] Log Address : 0000000043D10000
---
> [044h 0068 8] Log Address : 0000000043C90000
The diff is in the address of the TPM log ... Not good. I don't know how
we could have it ignore the address or not build the TPM2 table with an
address for a log. It would be good to have test cases.
Stefan