GY> The RequestStateChange() doesn't work for me on LXC domain now,
GY> for an example, if I update
GY> ComputerSystem.06_paused_active_suspend.py for LXC support, the
GY> tc will report error below:
For which states? All of them?
GY> Test with Pegasus:
GY> ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running')
GY> ERROR - Unable to suspend dom DomST1 using RequestedStateChange()
GY> InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running
LXC certainly doesn't support the paused state. All you should be
able to do is go from disabled to enabled and back to disabled. Does
this not work for you? The code path for Xen and LXC should be
identical here.
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com