diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 6bb8e989b..6ef576f43 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -510,6 +510,8 @@ components: watchdog: type: boolean default: false + platform: + $ref: '#/components/schemas/PlatformConfig' description: Virtual machine configuration CpuAffinity: @@ -557,6 +559,18 @@ components: items: $ref: '#/components/schemas/CpuAffinity' + PlatformConfig: + type: object + properties: + num_pci_segments: + type: integer + format: int16 + iommu_segments: + type: array + items: + type: integer + format: int16 + MemoryZoneConfig: required: - id