Re: [PATCH v8 01/18] conf: Add support for external swtpm TPM emulator to domain XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 24, 2018 at 04:25:57PM -0400, Stefan Berger wrote:
This patch adds support for an external swtpm TPM emulator. The XML for
this type of TPM looks as follows:

<tpm model='tpm-tis'>
  <backend type='emulator'/>
</tpm>

The XML will currently only define a TPM 1.2.

Extend the documentation.

Add a test case testing the XML parser and formatter.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>
Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>
---
docs/formatdomain.html.in                 | 30 +++++++++++++++++++++++++++
docs/schemas/domaincommon.rng             |  5 +++++
src/conf/domain_audit.c                   |  2 ++
src/conf/domain_conf.c                    | 28 +++++++++++++++++++------
src/conf/domain_conf.h                    |  6 ++++++
src/qemu/qemu_cgroup.c                    |  1 +
src/qemu/qemu_command.c                   |  1 +
src/qemu/qemu_domain.c                    |  1 +
src/security/security_dac.c               |  2 ++
src/security/security_selinux.c           |  2 ++
tests/qemuxml2argvdata/tpm-emulator.xml   | 30 +++++++++++++++++++++++++++
tests/qemuxml2xmloutdata/tpm-emulator.xml | 34 +++++++++++++++++++++++++++++++
tests/qemuxml2xmltest.c                   |  1 +
13 files changed, 137 insertions(+), 6 deletions(-)
create mode 100644 tests/qemuxml2argvdata/tpm-emulator.xml
create mode 100644 tests/qemuxml2xmloutdata/tpm-emulator.xml


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux