[libvirt PATCH 0/5] Initial network support in ch driver.

Praveen K Paladugu posted 5 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20231129231106.73443-1-prapal@linux.microsoft.com
There is a newer version of this series
po/POTFILES                       |   3 +
src/ch/ch_capabilities.c          |   9 +
src/ch/ch_capabilities.h          |   1 +
src/ch/ch_conf.h                  |   4 +
src/ch/ch_domain.c                |  41 +++
src/ch/ch_domain.h                |   3 +
src/ch/ch_interface.c             | 104 +++++++
src/ch/ch_interface.h             |  35 +++
src/ch/ch_monitor.c               | 205 +++++---------
src/ch/ch_monitor.h               |   7 +-
src/ch/ch_process.c               | 160 ++++++++++-
src/ch/meson.build                |   2 +
src/conf/domain_conf.c            |   1 -
src/conf/domain_conf.h            |   3 +-
src/hypervisor/domain_interface.c | 457 ++++++++++++++++++++++++++++++
src/hypervisor/domain_interface.h |  45 +++
src/hypervisor/meson.build        |   1 +
src/libvirt_private.syms          |  11 +
src/libxl/libxl_domain.c          |   2 +-
src/libxl/libxl_driver.c          |   4 +-
src/lxc/lxc_driver.c              |   2 +-
src/lxc/lxc_process.c             |   4 +-
src/qemu/qemu_command.c           |   6 +-
src/qemu/qemu_hotplug.c           |  15 +-
src/qemu/qemu_interface.c         | 339 +---------------------
src/qemu/qemu_interface.h         |  11 -
src/qemu/qemu_process.c           |  73 +----
src/util/virsocket.c              | 109 +++++++
src/util/virsocket.h              |   3 +
29 files changed, 1093 insertions(+), 567 deletions(-)
create mode 100644 src/ch/ch_interface.c
create mode 100644 src/ch/ch_interface.h
create mode 100644 src/hypervisor/domain_interface.c
create mode 100644 src/hypervisor/domain_interface.h
[libvirt PATCH 0/5] Initial network support in ch driver.
Posted by Praveen K Paladugu 5 months ago
This series introduces network support for ch guests. ETHERNET network mode is
the only mode supported. More modes will be add once this series is merged.

For security reasons, cloud-hypervisor requries FDs for guests to be sent using
SCM_RIGHTS. This patch series introduces 2 methods that support sending FDs to
ch in Patch 3. Network support in ch driver is introduced by Patch 5.

I previously sent "hypervisor: Move interface mgmt methods to hypervisor" patch
by itself. I merged this patch also into Patch 2 in this series.

Praveen K Paladugu (5):
  conf: Drop unused parameter
  hypervisor: Move domain interface mgmt methods
  util: Add util methods required by ch networking
  ch: Introduce version based cap for network support
  ch: Enable ETHERNET Network mode support

 po/POTFILES                       |   3 +
 src/ch/ch_capabilities.c          |   9 +
 src/ch/ch_capabilities.h          |   1 +
 src/ch/ch_conf.h                  |   4 +
 src/ch/ch_domain.c                |  41 +++
 src/ch/ch_domain.h                |   3 +
 src/ch/ch_interface.c             | 104 +++++++
 src/ch/ch_interface.h             |  35 +++
 src/ch/ch_monitor.c               | 205 +++++---------
 src/ch/ch_monitor.h               |   7 +-
 src/ch/ch_process.c               | 160 ++++++++++-
 src/ch/meson.build                |   2 +
 src/conf/domain_conf.c            |   1 -
 src/conf/domain_conf.h            |   3 +-
 src/hypervisor/domain_interface.c | 457 ++++++++++++++++++++++++++++++
 src/hypervisor/domain_interface.h |  45 +++
 src/hypervisor/meson.build        |   1 +
 src/libvirt_private.syms          |  11 +
 src/libxl/libxl_domain.c          |   2 +-
 src/libxl/libxl_driver.c          |   4 +-
 src/lxc/lxc_driver.c              |   2 +-
 src/lxc/lxc_process.c             |   4 +-
 src/qemu/qemu_command.c           |   6 +-
 src/qemu/qemu_hotplug.c           |  15 +-
 src/qemu/qemu_interface.c         | 339 +---------------------
 src/qemu/qemu_interface.h         |  11 -
 src/qemu/qemu_process.c           |  73 +----
 src/util/virsocket.c              | 109 +++++++
 src/util/virsocket.h              |   3 +
 29 files changed, 1093 insertions(+), 567 deletions(-)
 create mode 100644 src/ch/ch_interface.c
 create mode 100644 src/ch/ch_interface.h
 create mode 100644 src/hypervisor/domain_interface.c
 create mode 100644 src/hypervisor/domain_interface.h

-- 
2.41.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [libvirt PATCH 0/5] Initial network support in ch driver.
Posted by Praveen K Paladugu 3 months, 3 weeks ago
Folks,

Bubbling this patchset for reviews.
I would appreciate some feedback on this patch set.


On 11/29/2023 5:11 PM, Praveen K Paladugu wrote:
> This series introduces network support for ch guests. ETHERNET network mode is
> the only mode supported. More modes will be add once this series is merged.
> 
> For security reasons, cloud-hypervisor requries FDs for guests to be sent using
> SCM_RIGHTS. This patch series introduces 2 methods that support sending FDs to
> ch in Patch 3. Network support in ch driver is introduced by Patch 5.
> 
> I previously sent "hypervisor: Move interface mgmt methods to hypervisor" patch
> by itself. I merged this patch also into Patch 2 in this series.
> 
> Praveen K Paladugu (5):
>    conf: Drop unused parameter
>    hypervisor: Move domain interface mgmt methods
>    util: Add util methods required by ch networking
>    ch: Introduce version based cap for network support
>    ch: Enable ETHERNET Network mode support
> 
>   po/POTFILES                       |   3 +
>   src/ch/ch_capabilities.c          |   9 +
>   src/ch/ch_capabilities.h          |   1 +
>   src/ch/ch_conf.h                  |   4 +
>   src/ch/ch_domain.c                |  41 +++
>   src/ch/ch_domain.h                |   3 +
>   src/ch/ch_interface.c             | 104 +++++++
>   src/ch/ch_interface.h             |  35 +++
>   src/ch/ch_monitor.c               | 205 +++++---------
>   src/ch/ch_monitor.h               |   7 +-
>   src/ch/ch_process.c               | 160 ++++++++++-
>   src/ch/meson.build                |   2 +
>   src/conf/domain_conf.c            |   1 -
>   src/conf/domain_conf.h            |   3 +-
>   src/hypervisor/domain_interface.c | 457 ++++++++++++++++++++++++++++++
>   src/hypervisor/domain_interface.h |  45 +++
>   src/hypervisor/meson.build        |   1 +
>   src/libvirt_private.syms          |  11 +
>   src/libxl/libxl_domain.c          |   2 +-
>   src/libxl/libxl_driver.c          |   4 +-
>   src/lxc/lxc_driver.c              |   2 +-
>   src/lxc/lxc_process.c             |   4 +-
>   src/qemu/qemu_command.c           |   6 +-
>   src/qemu/qemu_hotplug.c           |  15 +-
>   src/qemu/qemu_interface.c         | 339 +---------------------
>   src/qemu/qemu_interface.h         |  11 -
>   src/qemu/qemu_process.c           |  73 +----
>   src/util/virsocket.c              | 109 +++++++
>   src/util/virsocket.h              |   3 +
>   29 files changed, 1093 insertions(+), 567 deletions(-)
>   create mode 100644 src/ch/ch_interface.c
>   create mode 100644 src/ch/ch_interface.h
>   create mode 100644 src/hypervisor/domain_interface.c
>   create mode 100644 src/hypervisor/domain_interface.h
> 

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