[PATCH v3 0/6] Add support for SPAPR vTPM for pSeries VM

Stefan Berger posted 6 patches 2 weeks ago
Test syntax-check failed
Failed in applying to current master (apply log)
docs/formatdomain.html.in                     |     7 +-
docs/schemas/domaincommon.rng                 |     4 +
src/conf/domain_conf.c                        |     2 +
src/conf/domain_conf.h                        |     2 +
src/qemu/qemu_capabilities.c                  |     6 +
src/qemu/qemu_capabilities.h                  |     1 +
src/qemu/qemu_command.c                       |    15 +-
src/qemu/qemu_domain.c                        |    27 +-
src/qemu/qemu_domain_address.c                |     9 +
tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |   115 +
.../caps_5.0.0.ppc64.replies                  | 24695 ++++++++++++++++
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1128 +
.../tpm-emulator-spapr.ppc64-latest.args      |    45 +
tests/qemuxml2argvdata/tpm-emulator-spapr.xml |    60 +
tests/qemuxml2argvtest.c                      |     4 +
15 files changed, 26110 insertions(+), 10 deletions(-)
create mode 100644 tests/domaincapsdata/qemu_5.0.0.ppc64.xml
create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
create mode 100644 tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args
create mode 100644 tests/qemuxml2argvdata/tpm-emulator-spapr.xml

[PATCH v3 0/6] Add support for SPAPR vTPM for pSeries VM

Posted by Stefan Berger 2 weeks ago
QEMU 5.0 will have SPAPR vTPM support. This series of patches
adds support for the XML and command line creation of the 
SPAPR vTPM for pSeries VMs along with test cases.

Regards,
   Stefan

v2->v3:
  - Applied Jan's R-b's
  - Fixed issue in 4/6.

v1->v2:
  - Applied R-b to unmodified patches
  - Addressed Ján's comments; added patch is 1/6


Stefan Berger (6):
  conf: Introduce VIR_DOMAIN_TPM_MODEL_DEFAULT as default model
  conf: Add support for tpm-spapr to domain XML
  qemu: Extend QEMU capabilities with 'tpm-spapr'
  qemu: Extend QEMU with tpm-spapr support
  tests: Extend ppc64 capabilities data with TPM related XML and
    responses
  tests: Add test for domain XML with tpm-spapr TPM device model

 docs/formatdomain.html.in                     |     7 +-
 docs/schemas/domaincommon.rng                 |     4 +
 src/conf/domain_conf.c                        |     2 +
 src/conf/domain_conf.h                        |     2 +
 src/qemu/qemu_capabilities.c                  |     6 +
 src/qemu/qemu_capabilities.h                  |     1 +
 src/qemu/qemu_command.c                       |    15 +-
 src/qemu/qemu_domain.c                        |    27 +-
 src/qemu/qemu_domain_address.c                |     9 +
 tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |   115 +
 .../caps_5.0.0.ppc64.replies                  | 24695 ++++++++++++++++
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  1128 +
 .../tpm-emulator-spapr.ppc64-latest.args      |    45 +
 tests/qemuxml2argvdata/tpm-emulator-spapr.xml |    60 +
 tests/qemuxml2argvtest.c                      |     4 +
 15 files changed, 26110 insertions(+), 10 deletions(-)
 create mode 100644 tests/domaincapsdata/qemu_5.0.0.ppc64.xml
 create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.replies
 create mode 100644 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
 create mode 100644 tests/qemuxml2argvdata/tpm-emulator-spapr.ppc64-latest.args
 create mode 100644 tests/qemuxml2argvdata/tpm-emulator-spapr.xml

-- 
2.17.1


Re: [PATCH v3 0/6] Add support for SPAPR vTPM for pSeries VM

Posted by Ján Tomko 2 weeks ago
On Wed, Feb 05, 2020 at 01:35:44PM -0500, Stefan Berger wrote:
>QEMU 5.0 will have SPAPR vTPM support. This series of patches
>adds support for the XML and command line creation of the
>SPAPR vTPM for pSeries VMs along with test cases.
>
>Regards,
>   Stefan
>
>v2->v3:
>  - Applied Jan's R-b's
>  - Fixed issue in 4/6.
>
>v1->v2:
>  - Applied R-b to unmodified patches
>  - Addressed Ján's comments; added patch is 1/6
>
>
>Stefan Berger (6):
>  conf: Introduce VIR_DOMAIN_TPM_MODEL_DEFAULT as default model
>  conf: Add support for tpm-spapr to domain XML
>  qemu: Extend QEMU capabilities with 'tpm-spapr'
>  qemu: Extend QEMU with tpm-spapr support
>  tests: Extend ppc64 capabilities data with TPM related XML and
>    responses
>  tests: Add test for domain XML with tpm-spapr TPM device model
>

Pushed now,

Jano