mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +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"
|
||||
tpm:
|
||||
$ref: "#/components/schemas/TpmConfig"
|
||||
landlock_enable:
|
||||
type: boolean
|
||||
default: false
|
||||
landlock_rules:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/LandlockConfig"
|
||||
description: Virtual machine configuration
|
||||
|
||||
CpuAffinity:
|
||||
@ -1261,3 +1268,14 @@ components:
|
||||
properties:
|
||||
socket:
|
||||
type: string
|
||||
|
||||
LandlockConfig:
|
||||
required:
|
||||
- path
|
||||
- access
|
||||
type: object
|
||||
properties:
|
||||
path:
|
||||
type: string
|
||||
access:
|
||||
type: string
|
||||
|
Loading…
Reference in New Issue
Block a user