Skip to content

[User story] stop #2244

Open
Open
@gbraad

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions