[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Mon, Feb 20, 2012 at 02:36:28AM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak 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)
>  {

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]