mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: api: Add a VMM shutdown command
This shuts the current VM down, if any, and then exits the VMM process. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
228adebc32
commit
a95fa1c4e8
@@ -23,6 +23,15 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/VmmInfo'
|
||||
|
||||
/vmm.shutdown:
|
||||
put:
|
||||
summary: Shuts the cloud-hypervisor VMM.
|
||||
operationId: shutdownVMM
|
||||
responses:
|
||||
201:
|
||||
description: The VMM successfully shutdown.
|
||||
content: {}
|
||||
|
||||
/vm.info:
|
||||
get:
|
||||
summary: Returns general information about the cloud-hypervisor Virtual Machine (VM) instance.
|
||||
|
||||
Reference in New Issue
Block a user