[PATCH 0/8] ch: support restore with network devices

Purna Pavan Chandra posted 8 patches 2 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20240628072647.2674-1-paekkaladevi@linux.microsoft.com
There is a newer version of this series
src/ch/ch_driver.c  |   9 +-
src/ch/ch_monitor.c |  62 +++++++-----
src/ch/ch_monitor.h |   6 +-
src/ch/ch_process.c | 225 ++++++++++++++++++++++++++++++++++----------
4 files changed, 223 insertions(+), 79 deletions(-)
[PATCH 0/8] ch: support restore with network devices
Posted by Purna Pavan Chandra 2 months, 1 week ago
Current ch driver supports restore only for domains without any network
configuration defined. This was because libvirt explicitly passes network fds
and CH did not had support to restore with new net FDS. This support has been
added recently, https://github.com/cloud-hypervisor/cloud-hypervisor/pull/6402
The changes in this patch series majorly include moving to socket communication
for restore api, create new net fds and pass them via SCM_RIGHTS to CH.

Purna Pavan Chandra (8):
  ch: report response message instead of just code
  ch: Pass net ids explicitly during vm creation
  ch: refactor chProcessAddNetworkDevices
  ch: poll with -1 in chSocketRecv
  ch: use monitor socket fd to send restore request
  ch: refactor virCHMonitorSaveVM
  ch: support restore with net devices
  ch: kill CH process if restore fails

 src/ch/ch_driver.c  |   9 +-
 src/ch/ch_monitor.c |  62 +++++++-----
 src/ch/ch_monitor.h |   6 +-
 src/ch/ch_process.c | 225 ++++++++++++++++++++++++++++++++++----------
 4 files changed, 223 insertions(+), 79 deletions(-)

-- 
2.34.1