libvirt/docs/schemas
Stefan Berger a5bbe1a8b6 qemu: tpm: Extend TPM domain XML with PCR banks to activate
Extend the TPM backend XML with a node 'active_pcr_banks' that allows a
user to specify the PCR banks to activate before starting a VM. Valid
choices for PCR banks are sha1, sha256, sha384 and sha512. When the XML
node is provided, the set of active PCR banks is 'enforced' by running
swtpm_setup before every start of the VM. The activation requires that
swtpm_setup v0.7 or later is installed and may not have any effect
otherwise.

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

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2016599

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-11-05 09:22:50 +01:00
..
basictypes.rng schema: Add define for object names 2021-01-08 09:18:21 +01:00
capability.rng whitespace clean-ups 2021-07-15 14:50:48 +02:00
cpu.rng schema: Add schema for guest or host cpu definition 2020-10-07 09:18:07 +02:00
cputypes.rng schemas: Allow cache attribute for bandwidth element for HMAT 2021-07-08 16:28:30 +02:00
domain.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domainbackup.rng conf: add encryption engine property 2021-10-25 14:06:15 +02:00
domaincaps.rng conf: Add availability of s390-pv in domain capabilities 2021-07-21 13:30:30 +02:00
domaincheckpoint.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
domaincommon.rng qemu: tpm: Extend TPM domain XML with PCR banks to activate 2021-11-05 09:22:50 +01:00
domainsnapshot.rng conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00
interface.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
meson.build schema: Add schema for guest or host cpu definition 2020-10-07 09:18:07 +02:00
network.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
networkcommon.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
networkport.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
nodedev.rng Add PCI VPD Capability Support 2021-10-21 17:34:04 +01:00
nwfilter_params.rng schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
nwfilter.rng schema: nwfiter: Allow leading/trailing whitespace in 'variable-name-type' 2020-10-20 09:05:10 +02:00
nwfilterbinding.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
secret.rng schema: secret: Relax requirements for usage name 2021-01-08 09:18:21 +01:00
storagecommon.rng conf: add luks2 encryption format 2021-10-25 14:06:15 +02:00
storagepool.rng schema: Add define for object names 2021-01-08 09:18:21 +01:00
storagepoolcaps.rng schema: Unify apostrophe and quotation mark usage 2020-10-07 09:18:07 +02:00
storagevol.rng storage: add support for QCOW2 cluster_size option 2021-05-21 14:00:43 +02:00