mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Implement VM resume
To resume a VM, we unpark all its vCPU threads. Fixes: #333 Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
4ac0cb9cff
commit
dbbd04a4cf
@@ -95,6 +95,21 @@ paths:
|
||||
description: The VM instance could not pause because it is not booted.
|
||||
content: {}
|
||||
|
||||
/vm.resume:
|
||||
put:
|
||||
summary: Resume a previously paused VM instance.
|
||||
operationId: resumeVM
|
||||
responses:
|
||||
201:
|
||||
description: The VM instance successfully paused.
|
||||
content: {}
|
||||
404:
|
||||
description: The VM instance could not resume because it is not booted yet
|
||||
content: {}
|
||||
405:
|
||||
description: The VM instance could not resume because it is not paused.
|
||||
content: {}
|
||||
|
||||
/vm.shutdown:
|
||||
put:
|
||||
summary: Shut the VM instance down.
|
||||
|
||||
Reference in New Issue
Block a user