Open
Description
Description
This command stops the VM
This command is passed to the hypervisor manager and therefore might perform steps depending on their implementation, like a clean shutdown using an ACPI call.
Exit codes and behaviour
- when VM is
state = stopped
a success is returned - when VM is
state = running
, a shutdown is performed
according to timeout a status is returned- when timeout exceed, the command returns an error
- when
state == stopped
within the timeout, success is returned
Options
-f
/--force
When-f
is used, we perform a stop from the driver that forcibly powers down the VM. This depends on the driver. Note: might lead to filesystem corruption. This will disregard a timeout.
Activity