[PATCH 0/4] Rework <tpm/> formatting

Michal Privoznik mprivozn at redhat.com
Tue Jan 4 08:14:26 UTC 2022


Please note that the test suite is temporarily broken after 2/4 but
fixed in 3/4. This could be resolved be swapping those two patches, but
I figured I keep the order to demonstrate the bug. However, I can do the
swap if desired.

Michal Prívozník (4):
  qemuxml2xmltest: Introduce tpm-emulator-spapr test
  qemuxml2xmloutdata: Turn tpm-*.xml files into symlinks
  conf: Rework <tpm/> formatting
  conf: Make virDomainTPMDefFormat() return void

 src/conf/domain_conf.c                        | 65 +++++++---------
 tests/qemuxml2argvdata/tpm-emulator-spapr.xml | 74 +++++++++++--------
 .../tpm-emulator-tpm2-enc.xml                 | 12 ++-
 .../tpm-emulator-tpm2-pstate.xml              | 12 ++-
 tests/qemuxml2argvdata/tpm-emulator-tpm2.xml  | 13 +++-
 tests/qemuxml2argvdata/tpm-emulator.xml       | 12 ++-
 .../qemuxml2argvdata/tpm-passthrough-crb.xml  | 12 ++-
 tests/qemuxml2argvdata/tpm-passthrough.xml    | 12 ++-
 .../tpm-emulator-spapr.ppc64-latest.xml       |  1 +
 .../tpm-emulator-tpm2-enc.x86_64-latest.xml   | 41 +---------
 ...tpm-emulator-tpm2-pstate.x86_64-latest.xml | 39 +---------
 .../tpm-emulator-tpm2.x86_64-latest.xml       | 44 +----------
 .../tpm-emulator.x86_64-latest.xml            | 39 +---------
 .../tpm-passthrough-crb.x86_64-latest.xml     | 41 +---------
 .../tpm-passthrough.x86_64-latest.xml         | 41 +---------
 tests/qemuxml2xmltest.c                       |  1 +
 16 files changed, 138 insertions(+), 321 deletions(-)
 create mode 120000 tests/qemuxml2xmloutdata/tpm-emulator-spapr.ppc64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2-enc.x86_64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2-pstate.x86_64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2.x86_64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-emulator.x86_64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-passthrough-crb.x86_64-latest.xml
 mode change 100644 => 120000 tests/qemuxml2xmloutdata/tpm-passthrough.x86_64-latest.xml

-- 
2.34.1




More information about the libvir-list mailing list