commit | f5bbfba1ebe8c877ebfe846fc1e73e90da423884 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Fri Jul 29 15:04:45 2011 -0300 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Thu Sep 15 16:39:32 2011 -0300 |
tree | cd395df17a18a35cb4e5a9a8f0d6e378027a7794 | |
parent | 1dfb4dd993f7122353fb2894f09dfcba894cd7d5 [diff] |
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: Luiz Capitulino <lcapitulino@redhat.com>