Re: [PATCH v2 2/4] schema: add TPM emulator <source file='..'>

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

 



On Wed, Oct 2, 2024 at 11:18 AM Martin Kletzander <mkletzan@xxxxxxxxxx> wrote:
>
> On Tue, Sep 10, 2024 at 11:05:58AM +0400, marcandre.lureau@xxxxxxxxxx wrote:
> >From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> >
> >Learn to parse a file path for the TPM state.
> >
> >Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> >---
> > 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".

good catch, fixed




[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