]> git.proxmox.com Git - qemu.git/commit - vl.c
RunState: Add additional states
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 29 Jul 2011 18:04:45 +0000 (15:04 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 15 Sep 2011 19:39:32 +0000 (16:39 -0300)
commitf5bbfba1ebe8c877ebfe846fc1e73e90da423884
treecd395df17a18a35cb4e5a9a8f0d6e378027a7794
parent1dfb4dd993f7122353fb2894f09dfcba894cd7d5
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>
cpus.c
migration.c
sysemu.h
vl.c