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

Stefan Berger posted 2 patches 2 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20211101172340.2619285-1-stefanb@linux.ibm.com
There is a newer version of this series
docs/formatdomain.rst                         |  12 +-
docs/schemas/basictypes.rng                   |   6 +
docs/schemas/domaincommon.rng                 |   5 +
src/conf/domain_conf.c                        |  21 ++-
src/conf/domain_conf.h                        |   1 +
src/qemu/qemu_tpm.c                           | 135 +++++++++++++++---
src/util/virtpm.c                             |   1 +
src/util/virtpm.h                             |   1 +
tests/qemuxml2argvdata/tpm-emulator-tpm2.xml  |   2 +-
.../tpm-emulator-tpm2.x86_64-latest.xml       |   2 +-
10 files changed, 165 insertions(+), 21 deletions(-)
[PATCH v2 0/2] qemu: tpm: Activate PCR banks of a TPM 2.0 before VM start
Posted by Stefan Berger 2 years, 4 months ago
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/basictypes.rng                   |   6 +
 docs/schemas/domaincommon.rng                 |   5 +
 src/conf/domain_conf.c                        |  21 ++-
 src/conf/domain_conf.h                        |   1 +
 src/qemu/qemu_tpm.c                           | 135 +++++++++++++++---
 src/util/virtpm.c                             |   1 +
 src/util/virtpm.h                             |   1 +
 tests/qemuxml2argvdata/tpm-emulator-tpm2.xml  |   2 +-
 .../tpm-emulator-tpm2.x86_64-latest.xml       |   2 +-
 10 files changed, 165 insertions(+), 21 deletions(-)

-- 
2.31.1