On May 1, 2013, at 15:21 , bigclouds <bigclo...@163.com> wrote:
> it says the life cycle of vm in vdsm is same as libvirt's, but vdsm use
> lastStatus to record vm's state.
> what is lastStatus's statechart(state machine)?
VALID_STATES = ('Down', 'Migration Destination', 'Migration Source',
'Paused', 'Powering down', 'RebootInProgress',
'Restoring state', 'Saving State',
it's being set/changed mostly in vdsm/vm.py, it's the last known(or expected)
status of the VM from vdsm point of view. It should correspond to actual VM
state eventually, but it's not a direct status pulled from libvirt.
> vdsm-devel mailing list
vdsm-devel mailing list