diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 27235ad7f..b7074fdb5 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -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