[PATCH v3 0/2] qemu: tpm: Activate PCR banks of a TPM 2.0 before VM start

Stefan Berger stefanb at linux.ibm.com
Wed Nov 3 17:04:21 UTC 2021


This series of patches adds support for activating the PCR banks of a TPM 2.0
before starting a VM.

    Stefan


Stefan Berger (2):
  qemu: Move code to add encryption options for swtpm_setup into
    function
  qemu: tpm: Extend TPM domain XML with PCR banks to activate

 docs/formatdomain.rst                         |  12 ++
 docs/schemas/domaincommon.rng                 |  30 ++++
 src/conf/domain_conf.c                        |  50 +++++-
 src/conf/domain_conf.h                        |  11 ++
 src/libvirt_private.syms                      |   2 +
 src/qemu/qemu_tpm.c                           | 152 ++++++++++++++++--
 src/util/virtpm.c                             |   1 +
 src/util/virtpm.h                             |   1 +
 tests/qemuxml2argvdata/tpm-emulator-tpm2.xml  |   7 +-
 .../tpm-emulator-tpm2.x86_64-latest.xml       |   7 +-
 10 files changed, 252 insertions(+), 21 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list