On Tue, Sep 10, 2024 at 11:05:58AM +0400, [email protected] wrote:
From: Marc-André Lureau <[email protected]>

Learn to parse a file path for the TPM state.

Signed-off-by: Marc-André Lureau <[email protected]>
---
docs/formatdomain.rst                       | 15 +++++++++++++++
src/conf/domain_conf.c                      | 21 +++++++++++++++++++++
src/conf/domain_conf.h                      |  6 ++++++
src/conf/schemas/domaincommon.rng           | 11 +++++++++++
tests/qemuxmlconfdata/tpm-emulator-tpm2.xml |  1 +
5 files changed, 54 insertions(+)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 47d3e2125e..4818113bc2 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -8170,6 +8170,21 @@ Example: usage of the TPM Emulator
   The default version used depends on the combination of hypervisor, guest
   architecture, TPM model and backend.

+``source``
+   The ``source`` element specifies the location of the TPM state storage . 
This
+   element only works with the ``emulator`` backend.
+
+   If not specified, the storage configuration is left to libvirt discretion.
+
+   The following attributes are supported:
+
+   ``path``

You name it "path" here, but everywhere below it is a "file".

Attachment: signature.asc
Description: PGP signature

Reply via email to