From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
qemu-devel@nongnu.org
Subject: Re: [PATCH 5/5] qemu-options: Add description of tdx-guest object
Date: Fri, 12 Sep 2025 09:22:22 +0100 [thread overview]
Message-ID: <aMPYPuyKCMPKcPSh@redhat.com> (raw)
In-Reply-To: <20250714091953.448226-6-xiaoyao.li@intel.com>
On Mon, Jul 14, 2025 at 05:19:53PM +0800, Xiaoyao Li wrote:
> Add description of tdx-guest object so that QEMU doc page can have the
> description.
>
> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
> ---
> qemu-options.hx | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 5c400114c2e5..50c7874bbce9 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -5994,6 +5994,46 @@ SRST
> -machine ...,confidential-guest-support=sev0 \\
> .....
>
> + ``-object tdx-guest,id=id,[attributes=attrs,sept-ve-disable=on|off,mrconfigid=sha384_digest,mrowner=sha384_digest,mrownerconfig=sha384_digest,quote-generation-socket=socketaddr]``
> + Create an Intel Trusted Domain eXtensions (TDX) guest object, which is
> + the type of ``confidentiala-guest-support`` object. When pass the object
> + ID to machine's ``confidentiala-guest-support`` property, it can create
Typo in 'confidentiala' (both lines)
> + a TDX guest.
> +
> + The ``attributes`` is a 64-bit integer, which specifies the TD
"The ``attributes`` property is..."
> + attributes of the TD.
> +
> + The ``sept-ve-disable`` controls the bit 28 of TD attributes
"Ths ``sept-ve-disable`` property controls..."
> + specifically. When it's on, the EPT violation conversion to #VE on
> + guest access of PENDING pages is disabled. Some guest OS (e.g., Linux
> + TD guest) may require this to be set, otherwise they refuse to boot.
> + The default value is on.
> +
> + The ``mrconfigid`` is base64 encoded SHA384 digest, which provides the
...add the word 'property' after the property name, and again in
the lines below
> + ID for non-owner-defined configuration of the guest TD, e.g., run-time
> + or OS configuration. The default value is all zeros.
> +
> + The ``mrowner`` is base64 encoded SHA384 digest, which provides the ID
> + for guest TD's owner. The default value is all zeros.
> +
> + The ``mrownerconfig`` is base64 encoded SHA384 digest, which provides
> + the ID for owner-defined configuration of the guest TD, e.g., the
> + configuration specific to the workload rather than the run-time of OS.
> + The default value is all zeros.
> +
> + The ``quote-generation-socket`` specifies the socket address of the
> + Quote Generation Service (QGS). QGS is a daemon running on the host.
> + QEMU forwards the <GetQuote> request from TD guest to QGS and sents the
> + reply (which contains generated QUOTE on success) from QGS to guest TD.
> +
> + .. parsed-literal::
> +
> + # |qemu_system_x86| \\
> + ... \\
> + -object tdx-guest,id=tdx0, \\
> + -machine ...,confidential-guest-support=tdx0 \\
> + ...
I'd suggest making the example include 'quote-generation-socket'
too as that usage is non-obvious to users unless familiar with
QMP.
> +
> ``-object authz-simple,id=id,identity=string``
> Create an authorization object that will control access to
> network services.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2025-09-12 8:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 9:19 [PATCH 0/5] qemu-optios: Fix, cleanup and add description of tdx-guest Xiaoyao Li
2025-07-14 9:19 ` [PATCH 1/5] qemu-options: Move sgx-epc options from "M" to "machine" Xiaoyao Li
2025-09-12 8:16 ` Daniel P. Berrangé
2025-07-14 9:19 ` [PATCH 2/5] i386/sev: Remove the example that references memory-encryption Xiaoyao Li
2025-09-12 8:16 ` Daniel P. Berrangé
2025-07-14 9:19 ` [PATCH 3/5] qemu-options: Change memory-encryption to confidential-guest-support in the example Xiaoyao Li
2025-09-12 8:17 ` Daniel P. Berrangé
2025-09-12 8:23 ` Daniel P. Berrangé
2025-09-15 8:34 ` Xiaoyao Li
2025-07-14 9:19 ` [PATCH 4/5] qemu-options: Add confidential-guest-support to machine options Xiaoyao Li
2025-09-12 8:19 ` Daniel P. Berrangé
2025-07-14 9:19 ` [PATCH 5/5] qemu-options: Add description of tdx-guest object Xiaoyao Li
2025-09-12 8:22 ` Daniel P. Berrangé [this message]
2025-07-14 9:31 ` [PATCH 0/5] qemu-optios: Fix, cleanup and add description of tdx-guest Xiaoyao Li
2025-09-12 5:57 ` Xiaoyao Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aMPYPuyKCMPKcPSh@redhat.com \
--to=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=xiaoyao.li@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.