[Libvir] suspend/resume == pause/unpause?
Daniel Veillard
veillard at redhat.com
Sun Mar 5 20:13:26 UTC 2006
On Sun, Mar 05, 2006 at 11:17:06AM -0800, Diwaker Gupta wrote:
> 'xm' uses pause/unpause. libvirt uses suspend/resume. It seems they
> are the same. IMHO this should be made explicit in the documentation
> (I'm looking at the python help for libvirt).
Take any OS book, you will see suspend/resume defined. Ask a laptop
user what it means to suspend and resume, it's understood. My goal is
not to copy Xen API and make it LGPL, my goal is to make a simpler API
that more people can use. And IMHO the description are quite precise,
I expect only a small fraction of the potential libxvirt users to
actually have gone though Xen API 'descriptions'.
http://libvirt.org/html/libvirt-libvirt.html#virDomainSuspend
"Suspends an active domain, the process is frozen without further
access to CPU resources and I/O but the memory used by the domain
at the hypervisor level will stay allocated. Use virDomainResume()
to reactivate the domain."
If you think it's ambiguous I take documentation patches !
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list