mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
docs: Extend TPM docs with new encryption element
Describe the encryption element in the TPM's domain XML. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a90f98c071
commit
b2f6a5c688
@ -8215,6 +8215,9 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
TPM functionality for each VM. QEMU talks to it over a Unix socket. With
|
TPM functionality for each VM. QEMU talks to it over a Unix socket. With
|
||||||
the emulator device type each guest gets its own private TPM.
|
the emulator device type each guest gets its own private TPM.
|
||||||
<span class="since">'emulator' since 4.5.0</span>
|
<span class="since">'emulator' since 4.5.0</span>
|
||||||
|
The state of the TPM emulator can be encrypted by providing an
|
||||||
|
<code>encryption</code> element.
|
||||||
|
<span class="since">'encryption' since 5.6.0</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Example: usage of the TPM Emulator
|
Example: usage of the TPM Emulator
|
||||||
@ -8224,6 +8227,7 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<devices>
|
<devices>
|
||||||
<tpm model='tpm-tis'>
|
<tpm model='tpm-tis'>
|
||||||
<backend type='emulator' version='2.0'>
|
<backend type='emulator' version='2.0'>
|
||||||
|
<encryption secret='6dd3e4a5-1d76-44ce-961f-f119f5aad935'/>
|
||||||
</backend>
|
</backend>
|
||||||
</tpm>
|
</tpm>
|
||||||
</devices>
|
</devices>
|
||||||
@ -8286,6 +8290,14 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<li>'2.0' : creates a TPM 2.0</li>
|
<li>'2.0' : creates a TPM 2.0</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><code>encryption</code></dt>
|
||||||
|
<dd>
|
||||||
|
<p>
|
||||||
|
The <code>encryption</code> element allows the state of a TPM emulator
|
||||||
|
to be encrypted. The <code>secret</code> must reference a secret object
|
||||||
|
that holds the passphrase from which the encryption key will be derived.
|
||||||
|
</p>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h4><a id="elementsNVRAM">NVRAM device</a></h4>
|
<h4><a id="elementsNVRAM">NVRAM device</a></h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user