mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-19 07:33:46 +03:00
* include/libvir.h include/libvir.h.in src/libvir.c: revamped the
restore API (though it would be better if it was returning a domain pointer in case of success) * src/virsh.c: added save and restore to the commands, tested, the option handling need work though Daniel
This commit is contained in:
@@ -224,7 +224,7 @@ int virDomainResume (virDomainPtr domain);
|
||||
*/
|
||||
int virDomainSave (virDomainPtr domain,
|
||||
const char *to);
|
||||
int virDomainRestore (virDomainPtr domain,
|
||||
int virDomainRestore (virConnectPtr conn,
|
||||
const char *from);
|
||||
|
||||
/*
|
||||
|
@@ -224,7 +224,7 @@ int virDomainResume (virDomainPtr domain);
|
||||
*/
|
||||
int virDomainSave (virDomainPtr domain,
|
||||
const char *to);
|
||||
int virDomainRestore (virDomainPtr domain,
|
||||
int virDomainRestore (virConnectPtr conn,
|
||||
const char *from);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user