From d00e6dfe6bb01f03df0efe7aee0ffdec6b21a59e Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 4 Jan 2022 08:38:37 +0100 Subject: [PATCH] qemuxml2xmltest: Introduce tpm-emulator-spapr test We already have the input xml because of xml2arg test. However, the corresponding xml2xml test case is missing. Make the expected XML a symlink to the input XML and clean the latter up a bit. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- tests/qemuxml2argvdata/tpm-emulator-spapr.xml | 72 +++++++++++-------- .../tpm-emulator-spapr.ppc64-latest.xml | 1 + tests/qemuxml2xmltest.c | 1 + 3 files changed, 43 insertions(+), 31 deletions(-) create mode 120000 tests/qemuxml2xmloutdata/tpm-emulator-spapr.ppc64-latest.xml diff --git a/tests/qemuxml2argvdata/tpm-emulator-spapr.xml b/tests/qemuxml2argvdata/tpm-emulator-spapr.xml index f9cda19727..1b4b825e2c 100644 --- a/tests/qemuxml2argvdata/tpm-emulator-spapr.xml +++ b/tests/qemuxml2argvdata/tpm-emulator-spapr.xml @@ -12,49 +12,59 @@ + + POWER9 + destroy restart destroy /usr/bin/qemu-system-ppc64 - -
- - - - -
- - -
- - - - - - - -
+ + + + +
- - - -
+ +
- -
+ +
- - -
- - - + +
+ + + + + + + + + +
+ + + + + +
+ + + +
+ +
- +