libvirt/docs/schemas
Stefan Berger 8737578d11 conf: Add support for choosing emulation of a TPM 2.0
This patch extends the TPM's device XML with TPM 2.0 support. This only works
for the emulator type backend and looks as follows:

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

The swtpm process now has --tpm2 as an additional parameter:

system_u:system_r:svirt_t:s0:c597,c632 tss 18477 11.8  0.0 28364  3868 ?        Rs   11:13  13:50 /usr/bin/swtpm socket --daemon --ctrl type=unixio,path=/var/run/libvirt/qemu/swtpm/testvm-swtpm.sock,mode=0660 --tpmstate dir=/var/lib/libvirt/swtpm/testvm/tpm2,mode=0640 --log file=/var/log/swtpm/libvirt/qemu/testvm-swtpm.log --tpm2 --pid file=/var/run/libvirt/qemu/swtpm/testvm-swtpm.pid

The version of the TPM can be changed and the state of the TPM is preserved.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-06-06 10:48:41 -04:00
..
basictypes.rng numa: describe siblings distances within cells 2017-11-12 19:39:00 -07:00
capability.rng capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
cputypes.rng conf: Introduce memoryBacking/discard 2018-05-14 09:42:20 +02:00
domain.rng
domaincaps.rng domcaps: Add 'genid' to domain capabilities 2018-05-25 08:15:58 -04:00
domaincommon.rng conf: Add support for choosing emulation of a TPM 2.0 2018-06-06 10:48:41 -04:00
domainsnapshot.rng qemu: Store save cookie in save images and snapshots 2017-06-07 13:36:02 +02:00
interface.rng docs: make interface start mode element optional 2017-03-27 10:22:15 -04:00
network.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
networkcommon.rng domain_conf: Introduce <mtu/> to <interface/> 2017-01-26 09:59:56 +01:00
nodedev.rng schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nwfilter.rng rng: fix nwfilter rule contents 2017-12-07 09:21:04 +00:00
secret.rng conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
storagecommon.rng util: storage: Drop pointless 'enabled' form PR definition 2018-05-16 06:32:28 +02:00
storagepool.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagevol.rng schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00