mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-18 10:59:16 +00:00
vmm: Add landlock elements to openapi spec
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
parent
bd180bc3eb
commit
be9f57dcf9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user