Re: [PATCH v2 0/5] Initial network support in ch driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/16/24 22:25, Praveen K Paladugu wrote:
> v2:
> * Refactor virSocketRecvHttpResponse to return responses without parsing http
>   responses.
> * Use errno to report errors in virsocket.c
> * Address WIN32 build failure in virsocket.c
> * Fix code indentations
> 
> 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             | 100 +++++++
>  src/ch/ch_interface.h             |  35 +++
>  src/ch/ch_monitor.c               | 213 +++++---------
>  src/ch/ch_monitor.h               |   7 +-
>  src/ch/ch_process.c               | 166 ++++++++++-
>  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           |   8 +-
>  src/qemu/qemu_hotplug.c           |  15 +-
>  src/qemu/qemu_interface.c         | 339 +---------------------
>  src/qemu/qemu_interface.h         |  11 -
>  src/qemu/qemu_process.c           |  72 +----
>  src/util/virsocket.c              | 116 ++++++++
>  src/util/virsocket.h              |   3 +
>  29 files changed, 1107 insertions(+), 571 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
> 

Now, this is almost correct. I only have couple of suggestions. No need
to resend another version. I've uploaded these patches among with my
suggestions to my gitlab:

  https://gitlab.com/MichalPrivoznik/libvirt/-/tree/ch_networking?ref_type=heads

You'll find 'fixup' commits there - these contains fixes to those small
issues I've raised in my review. I'll squash them in before merging.

Then, there's one suggestion - "Possible move of virSocketRecv() into
ch_process.c" - honestly, I don't feel like virSocketRecv() belongs into
src/util/ but I can't explain why really. For the time being we can have
it in src/ch/. I'd split this commit and squash its parts into
respective commits.

Please do check if code still works even with my fixups and whether you
agree with suggested changes. If so, I can give my reviewed by and merge
these.

Michal
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux