[libvirt] [libvirt-glib] Fixes to gvir_domain_*save*() docs

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Mon Feb 20 00:36:28 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

The saved state of a domain is restored using gvir_domain_start() rather
than gvir_domain_resume().
---
 libvirt-gobject/libvirt-gobject-domain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvirt-gobject/libvirt-gobject-domain.c b/libvirt-gobject/libvirt-gobject-domain.c
index 0cbb0fe..23ad882 100644
--- a/libvirt-gobject/libvirt-gobject-domain.c
+++ b/libvirt-gobject/libvirt-gobject-domain.c
@@ -735,7 +735,7 @@ cleanup:
  * @flags: extra flags, currently unused
  * @err: Place-holder for possible errors
  *
- * Saves the state of the domain on disk and stops it. Use #gvir_domain_resume
+ * Saves the state of the domain on disk and stops it. Use #gvir_domain_start
  * to restore the saved state of the domain. A saved domain can be restored
  * even after shutdown/reboot of host machine.
  *
@@ -860,7 +860,7 @@ gboolean gvir_domain_get_persistent(GVirDomain *dom)
  * @dom: the domain
  *
  * Returns: TRUE if a stopped domain has a saved state to which it can be
- * restored to using #gvir_domain_resume, FALSE otherwise.
+ * restored to using #gvir_domain_start, FALSE otherwise.
  */
 gboolean gvir_domain_get_saved(GVirDomain *dom)
 {
-- 
1.7.7.6




More information about the libvir-list mailing list