vmm: Add landlock elements to openapi spec

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
Praveen K Paladugu 2024-07-31 15:00:50 +00:00 committed by Bo Chen
parent bd180bc3eb
commit be9f57dcf9

View File

@ -626,6 +626,13 @@ components:
$ref: "#/components/schemas/PlatformConfig" $ref: "#/components/schemas/PlatformConfig"
tpm: tpm:
$ref: "#/components/schemas/TpmConfig" $ref: "#/components/schemas/TpmConfig"
landlock_enable:
type: boolean
default: false
landlock_rules:
type: array
items:
$ref: "#/components/schemas/LandlockConfig"
description: Virtual machine configuration description: Virtual machine configuration
CpuAffinity: CpuAffinity:
@ -1261,3 +1268,14 @@ components:
properties: properties:
socket: socket:
type: string type: string
LandlockConfig:
required:
- path
- access
type: object
properties:
path:
type: string
access:
type: string