[Libvirt-cim] discussion on class list for LXC support

Dan Smith danms at us.ibm.com
Wed Jun 18 13:41:59 UTC 2008


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 at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080618/7f78f99d/attachment.sig>


More information about the Libvirt-cim mailing list