JF> Just so I'm clear, CS.RequestStateChange(6==offline) will not
JF> suspend (aka save) the vm. This appears to be the case after a
JF> quick look at __state_change in Virt_ComputerSystem.c. In fact,
JF> RSC(6) would result in CMPI_RC_ERR_NOT_SUPPORTED.
Correct.
JF> I assume this is noted in the capabilities :-).
It is.
JF> In order to do the equivalent of e.g. "xm save" in xen, one would
JF> invoke CreateSnapshot(). Following the operation, state would be
JF> suspended. To "restore", invoke ApplySnapshot(). Is this
JF> correct?
That's correct. When libvirt supports coordinated disk/memory
snapshots for things like KVM, the extra level of indirection will
make more sense, I think.
Thanks!
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com