• L
    RunState: Add additional states · f5bbfba1
    Luiz Capitulino 提交于
    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: NLuiz Capitulino <lcapitulino@redhat.com>
    f5bbfba1
cpus.c 23.0 KB