[PATCH 00/11] ch_driver: Add basic SAVE and RESTORE VM operations support to CH driver

Purna Pavan Chandra Aekkaladevi posted 11 patches 1 month, 2 weeks ago
Failed in applying to current master (apply log)
NEWS.rst             |   5 +
src/ch/ch_conf.c     |   6 +
src/ch/ch_conf.h     |  12 +
src/ch/ch_driver.c   | 515 ++++++++++++++++++++++++++++++++++++++++++-
src/ch/ch_monitor.c  |  97 +++++++-
src/ch/ch_monitor.h  |   6 +-
src/ch/ch_process.c  | 102 +++++++--
src/ch/ch_process.h  |   4 +
src/libvirt-domain.c |  10 +-
9 files changed, 730 insertions(+), 27 deletions(-)
[PATCH 00/11] ch_driver: Add basic SAVE and RESTORE VM operations support to CH driver
Posted by Purna Pavan Chandra Aekkaladevi 1 month, 2 weeks ago
save, managedsave and restore operations for ch_driver are now supported for
domains without any network, hostdev config defined. The input `path` to save
and restore commands should be a directory path as cloud-hypervisor expects
dir path where it saves VM state and other config files.

Purna Pavan Chandra Aekkaladevi (11):
  ch_driver: Support Save, Restore VM actions from monitor
  ch_driver: Pass virCHDriverConfig to virCHMonitorNew
  ch_driver: Add domainSave, domainSaveFlags callbacks
  ch_driver: Add domainManagedSave callback
  ch_driver: Implement more save callbacks
  ch_driver: Refactor virCHProcessStart
  ch_driver: Implement domain restore callbacks
  ch_driver: cleanup any stale managed save dir before VM creation
  ch_driver: Add additional validation for save/restore
  docs: Update doc for virDomainSave and virDomainRestore
  NEWS: Mention save & restore support for ch driver

 NEWS.rst             |   5 +
 src/ch/ch_conf.c     |   6 +
 src/ch/ch_conf.h     |  12 +
 src/ch/ch_driver.c   | 515 ++++++++++++++++++++++++++++++++++++++++++-
 src/ch/ch_monitor.c  |  97 +++++++-
 src/ch/ch_monitor.h  |   6 +-
 src/ch/ch_process.c  | 102 +++++++--
 src/ch/ch_process.h  |   4 +
 src/libvirt-domain.c |  10 +-
 9 files changed, 730 insertions(+), 27 deletions(-)

-- 
2.34.1
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 00/11] ch_driver: Add basic SAVE and RESTORE VM operations support to CH driver
Posted by Purna Pavan Chandra Aekkaladevi 1 month, 1 week ago
Hi,

Bumping this up for review.

Thanks,
Pavan

On Mon, Mar 11, 2024 at 09:43:56AM +0000, Purna Pavan Chandra Aekkaladevi wrote:
> save, managedsave and restore operations for ch_driver are now supported for
> domains without any network, hostdev config defined. The input `path` to save
> and restore commands should be a directory path as cloud-hypervisor expects
> dir path where it saves VM state and other config files.
> 
> Purna Pavan Chandra Aekkaladevi (11):
>   ch_driver: Support Save, Restore VM actions from monitor
>   ch_driver: Pass virCHDriverConfig to virCHMonitorNew
>   ch_driver: Add domainSave, domainSaveFlags callbacks
>   ch_driver: Add domainManagedSave callback
>   ch_driver: Implement more save callbacks
>   ch_driver: Refactor virCHProcessStart
>   ch_driver: Implement domain restore callbacks
>   ch_driver: cleanup any stale managed save dir before VM creation
>   ch_driver: Add additional validation for save/restore
>   docs: Update doc for virDomainSave and virDomainRestore
>   NEWS: Mention save & restore support for ch driver
> 
>  NEWS.rst             |   5 +
>  src/ch/ch_conf.c     |   6 +
>  src/ch/ch_conf.h     |  12 +
>  src/ch/ch_driver.c   | 515 ++++++++++++++++++++++++++++++++++++++++++-
>  src/ch/ch_monitor.c  |  97 +++++++-
>  src/ch/ch_monitor.h  |   6 +-
>  src/ch/ch_process.c  | 102 +++++++--
>  src/ch/ch_process.h  |   4 +
>  src/libvirt-domain.c |  10 +-
>  9 files changed, 730 insertions(+), 27 deletions(-)
> 
> -- 
> 2.34.1
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH 00/11] ch_driver: Add basic SAVE and RESTORE VM operations support to CH driver
Posted by Michal Prívozník 1 month, 1 week ago
On 3/11/24 10:43, Purna Pavan Chandra Aekkaladevi wrote:
> save, managedsave and restore operations for ch_driver are now supported for
> domains without any network, hostdev config defined. The input `path` to save
> and restore commands should be a directory path as cloud-hypervisor expects
> dir path where it saves VM state and other config files.
> 
> Purna Pavan Chandra Aekkaladevi (11):
>   ch_driver: Support Save, Restore VM actions from monitor
>   ch_driver: Pass virCHDriverConfig to virCHMonitorNew
>   ch_driver: Add domainSave, domainSaveFlags callbacks
>   ch_driver: Add domainManagedSave callback
>   ch_driver: Implement more save callbacks
>   ch_driver: Refactor virCHProcessStart
>   ch_driver: Implement domain restore callbacks
>   ch_driver: cleanup any stale managed save dir before VM creation
>   ch_driver: Add additional validation for save/restore
>   docs: Update doc for virDomainSave and virDomainRestore
>   NEWS: Mention save & restore support for ch driver
> 
>  NEWS.rst             |   5 +
>  src/ch/ch_conf.c     |   6 +
>  src/ch/ch_conf.h     |  12 +
>  src/ch/ch_driver.c   | 515 ++++++++++++++++++++++++++++++++++++++++++-
>  src/ch/ch_monitor.c  |  97 +++++++-
>  src/ch/ch_monitor.h  |   6 +-
>  src/ch/ch_process.c  | 102 +++++++--
>  src/ch/ch_process.h  |   4 +
>  src/libvirt-domain.c |  10 +-
>  9 files changed, 730 insertions(+), 27 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

and merged.

Michal
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org