Skip to content
Snippets Groups Projects
Commit f5bbfba1 authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

RunState: Add additional states


Currently, only vm_start() and vm_stop() change the VM state.
That's, the state is only changed when starting or stopping the VM.

This commit adds the runstate_set() function, which makes it possible
to also do state transitions when the VM is stopped or running.

Additional states are also added and the current state is stored.

Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
parent 1dfb4dd9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment