]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ch_driver: Implement domain restore callbacks
authorPurna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com>
Mon, 11 Mar 2024 09:44:03 +0000 (09:44 +0000)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Mar 2024 13:05:26 +0000 (14:05 +0100)
commit53ec0fd09db4f64707acc0f8b2095f60d4dbaad1
treec02e9d3e2657f9873e103350ca7deaed8e1b05bd
parented12c63f8909f792c356af0dfa358be5b54289a3
ch_driver: Implement domain restore callbacks

Following callbacks have been implemented
* domainRestore
* domainRestoreFlags
The path parameter to these callbacks has to be of the directory where
libvirt has performed save. Additionally, call restore in `domainCreate`
if the domain has managedsave.

Signed-off-by: Purna Pavan Chandra Aekkaladevi <paekkaladevi@linux.microsoft.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/ch/ch_driver.c
src/ch/ch_process.c
src/ch/ch_process.h