mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
openapi: Update OpenAPI doc to include zone_updates parameter
Signed-off-by: Pascal Scholz <pascal.scholz@cyberus-technology.de> On-behalf-of: SAP pascal.scholz@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
ec304f6d50
commit
69e7d53a5f
@@ -1500,6 +1500,10 @@ components:
|
||||
$ref: "#/components/schemas/MemoryRestoreMode"
|
||||
resume:
|
||||
type: boolean
|
||||
zone_updates:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/VmMemoryZoneUpdateData"
|
||||
|
||||
ReceiveMigrationData:
|
||||
required:
|
||||
@@ -1516,6 +1520,10 @@ components:
|
||||
TLS is only supported with tcp:<host>:<port> receiver URLs.
|
||||
memory_mode:
|
||||
$ref: "#/components/schemas/MigrationMode"
|
||||
zone_updates:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/VmMemoryZoneUpdateData"
|
||||
|
||||
MigrationMode:
|
||||
type: string
|
||||
@@ -1526,6 +1534,18 @@ components:
|
||||
destination resumes. Postcopy resumes the destination first and faults
|
||||
guest pages in on demand.
|
||||
|
||||
VmMemoryZoneUpdateData:
|
||||
type: object
|
||||
required: [id, host_numa_node]
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
minLength: 1
|
||||
host_numa_node:
|
||||
type: integer
|
||||
format: uint32
|
||||
minimum: 0
|
||||
|
||||
TimeoutStrategy:
|
||||
type: string
|
||||
enum: ["Cancel", "Ignore"]
|
||||
|
||||
Reference in New Issue
Block a user