From 49868f483ee1b79df7af799d32731e778f570c10 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Fri, 13 Mar 2026 23:24:26 +0100 Subject: [PATCH] vmm: update openapi spec Signed-off-by: Philipp Schuster On-behalf-of: SAP philipp.schuster@sap.com --- vmm/src/api/openapi/cloud-hypervisor.yaml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index e8d3350db..14f74018e 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -1369,6 +1369,15 @@ components: receiver_url: type: string + TimeoutStrategy: + type: string + enum: ["Cancel", "Ignore"] + default: "Cancel" + description: > + The strategy to apply when the migration timeout is reached. + Cancel will abort the migration and keep the VM running on the source. + Ignore will proceed with the migration regardless of the downtime requirement. + SendMigrationData: required: - destination_url @@ -1378,6 +1387,24 @@ components: type: string local: type: boolean + downtime_ms: + type: integer + format: int64 + minimum: 1 + default: 300 + description: > + The maximum downtime the migration aims for, in milliseconds. + Defaults to 300ms. + timeout_s: + type: integer + format: int64 + minimum: 1 + default: 3600 + description: > + The timeout for the migration (maximum total duration), in seconds. + Defaults to 3600s (one hour). + timeout_strategy: + $ref: "#/components/schemas/TimeoutStrategy" VmAddUserDevice: required: