mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +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:
|
watchdog:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
platform:
|
||||||
|
$ref: '#/components/schemas/PlatformConfig'
|
||||||
description: Virtual machine configuration
|
description: Virtual machine configuration
|
||||||
|
|
||||||
CpuAffinity:
|
CpuAffinity:
|
||||||
@ -557,6 +559,18 @@ components:
|
|||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/CpuAffinity'
|
$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:
|
MemoryZoneConfig:
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
|
Loading…
Reference in New Issue
Block a user