Re: [RFC PATCH v2 33/44] qmp: add query-tdx-capabilities query-tdx command

2021-08-26 Thread Eric Blake
On Wed, Jul 07, 2021 at 05:55:03PM -0700, isaku.yamah...@gmail.com wrote: > From: Chenyi Qiang > > Add QMP commands that can be used by libvirt to query the TDX capabilities > and TDX info. The set of capabilities that needs to be reported is only > enabled at the moment, which means TDX is

Re: [RFC PATCH v2 33/44] qmp: add query-tdx-capabilities query-tdx command

2021-08-26 Thread Gerd Hoffmann
> +## > +# @TDXInfo: > +# > +# Information about Trust Domain Extensions (TDX) support > +# > +# @enabled: true if TDX is active > +# > +## > +{ 'struct': 'TDXInfo', > +'data': { 'enabled': 'bool' }, > + 'if': 'defined(TARGET_I386)' > +} I think a generic 'ConfidentialComputing' enum with

[RFC PATCH v2 33/44] qmp: add query-tdx-capabilities query-tdx command

2021-07-07 Thread isaku . yamahata
From: Chenyi Qiang Add QMP commands that can be used by libvirt to query the TDX capabilities and TDX info. The set of capabilities that needs to be reported is only enabled at the moment, which means TDX is enabled. Signed-off-by: Chenyi Qiang Co-developed-by: Isaku Yamahata Signed-off-by: