[PATCH v3 0/9] Introducing TPM Proxy device support for PPC64

Daniel Henrique Barboza danielhb413 at gmail.com
Wed May 13 19:30:35 UTC 2020


changes in v3 after reviews from Stefan Berger:
- new patch 4: trivial change to allow g_autoptr() with
  virDomainTPMDefPtr
- patch 5 (former 4): added g_autoptr(), removed VIR_FREE() calls
- changed wording in patches 1 and 9 (former 8) to make it
clear for users that this new device brings no benefits unless
the guest is running on specialized PPC64 hardware
- fixed identation in patch 6 (former 5). Added Stefan's r-b


v2 link: https://www.redhat.com/archives/libvir-list/2020-May/msg00604.html
v1 link: https://www.redhat.com/archives/libvir-list/2020-May/msg00604.html

Daniel Henrique Barboza (9):
  docs: documentation and schema for the new TPM Proxy model
  qemu: Extend QEMU capabilities with 'spapr-tpm-proxy'
  conf, qemu: adding 'tpmproxy' in domain definition
  conf, domain: register AUTOPTR_CLEANUP_FUNC for virDomainTPMDef
  domain_conf.c: XML parsing for VIR_DOMAIN_TPM_MODEL_SPAPR_PROXY
  tests: add XML schema tests for the TPM Proxy device
  qemu: build command line for the TPM Proxy device
  tests/qemuxml2argvtest.c: add TPM Proxy command line tests
  docs/news.xml: update for the new TPM Proxy device

 docs/formatdomain.html.in                     | 18 +++++-
 docs/news.xml                                 | 17 +++++
 docs/schemas/domaincommon.rng                 |  1 +
 src/conf/domain_audit.c                       |  3 +
 src/conf/domain_conf.c                        | 63 +++++++++++++++++--
 src/conf/domain_conf.h                        |  3 +
 src/qemu/qemu_alias.c                         | 16 +++++
 src/qemu/qemu_capabilities.c                  |  4 ++
 src/qemu/qemu_capabilities.h                  |  3 +
 src/qemu/qemu_cgroup.c                        | 12 +++-
 src/qemu/qemu_command.c                       | 21 +++++++
 src/qemu/qemu_domain.c                        |  9 +--
 src/qemu/qemu_validate.c                      | 12 ++++
 src/security/security_dac.c                   | 14 +++++
 src/security/security_selinux.c               | 11 ++++
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  1 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1 +
 tests/qemuxml2argvdata/ppc64-tpm-double.xml   | 34 ++++++++++
 .../ppc64-tpmproxy-double.xml                 | 38 +++++++++++
 .../ppc64-tpmproxy-single.ppc64-latest.args   | 34 ++++++++++
 .../ppc64-tpmproxy-single.xml                 | 33 ++++++++++
 .../ppc64-tpmproxy-with-tpm.ppc64-latest.args | 37 +++++++++++
 .../ppc64-tpmproxy-with-tpm.xml               | 36 +++++++++++
 tests/qemuxml2argvtest.c                      | 15 +++++
 .../ppc64-tpmproxy-single.ppc64-latest.xml    | 42 +++++++++++++
 .../ppc64-tpmproxy-with-tpm.ppc64-latest.xml  | 46 ++++++++++++++
 tests/qemuxml2xmltest.c                       |  2 +
 27 files changed, 514 insertions(+), 12 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpm-double.xml
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpmproxy-double.xml
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpmproxy-single.ppc64-latest.args
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpmproxy-single.xml
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpmproxy-with-tpm.ppc64-latest.args
 create mode 100644 tests/qemuxml2argvdata/ppc64-tpmproxy-with-tpm.xml
 create mode 100644 tests/qemuxml2xmloutdata/ppc64-tpmproxy-single.ppc64-latest.xml
 create mode 100644 tests/qemuxml2xmloutdata/ppc64-tpmproxy-with-tpm.ppc64-latest.xml

-- 
2.26.2




More information about the libvir-list mailing list