On May 1, 2013, at 15:21 , bigclouds <bigclo...@163.com> wrote:

> hi,all
> 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',
                'Up', 'WaitForLaunch')
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.

Thanks,
michal

>  
> thanks
>  
> 
> 
> _______________________________________________
> vdsm-devel mailing list
> vdsm-devel@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to