Skip to content
  • Luiz Capitulino's avatar
    RunState: Add additional states · f5bbfba1
    Luiz Capitulino authored
    
    
    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>
    f5bbfba1