mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
openapi: Add PlatformConfig to OpenAPI spec
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
20b9f95afd
commit
57184f110a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user