openapi: Expose TDx configuration

TDx support is already present on the project for quite some time, but
the TDx configuration was not yet exposed to the ones using CH via the
OpenAPI auto generated code.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2022-02-10 10:50:08 +01:00 committed by Sebastien Boeuf
parent d0789871a5
commit 55479a64d2

View File

@ -500,6 +500,8 @@ components:
type: array
items:
$ref: '#/components/schemas/SgxEpcConfig'
tdx:
$ref: '#/components/schemas/TdxConfig'
numa:
type: array
items:
@ -946,6 +948,15 @@ components:
type: boolean
default: false
TdxConfig:
required:
- firmware
type: object
properties:
firmware:
type: string
description: Path to the firmware that will be used to boot the TDx guest up.
NumaDistance:
required:
- destination