[Libvirt-cim] [PATCH 0 of 2] Make ComputerSystem.EnabledState aware of snapshot
Dan Smith
danms at us.ibm.com
Thu Jul 31 15:30:17 UTC 2008
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 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/20080731/8519339d/attachment.sig>
More information about the Libvirt-cim
mailing list