mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
docs: Update doc for virDomainSave and virDomainRestore
ch_driver expects path to be of a dir for save/restore. So, update the documentation at global API as well. Signed-off-by: Purna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
bcd567faa2
commit
70aca59616
@ -852,11 +852,11 @@ virDomainPMWakeup(virDomainPtr dom,
|
|||||||
/**
|
/**
|
||||||
* virDomainSave:
|
* virDomainSave:
|
||||||
* @domain: a domain object
|
* @domain: a domain object
|
||||||
* @to: path for the output file
|
* @to: path for the output save file / directory
|
||||||
*
|
*
|
||||||
* This method will suspend a domain and save its memory contents to
|
* This method will suspend a domain and save its memory contents to a file or
|
||||||
* a file on disk. After the call, if successful, the domain is not
|
* direcotry (based on the vmm) on disk. After the call, if successful,the domain
|
||||||
* listed as running anymore (this ends the life of a transient domain).
|
* is not listed as running anymore (this ends the life of a transient domain).
|
||||||
* Use virDomainRestore() to restore a domain after saving.
|
* Use virDomainRestore() to restore a domain after saving.
|
||||||
*
|
*
|
||||||
* See virDomainSaveFlags() and virDomainSaveParams() for more control.
|
* See virDomainSaveFlags() and virDomainSaveParams() for more control.
|
||||||
@ -1053,7 +1053,7 @@ virDomainSaveParams(virDomainPtr domain,
|
|||||||
/**
|
/**
|
||||||
* virDomainRestore:
|
* virDomainRestore:
|
||||||
* @conn: pointer to the hypervisor connection
|
* @conn: pointer to the hypervisor connection
|
||||||
* @from: path to the input file
|
* @from: path to the input save file / directory
|
||||||
*
|
*
|
||||||
* This method will restore a domain saved to disk by virDomainSave().
|
* This method will restore a domain saved to disk by virDomainSave().
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user