[PATCH v4 0/3] CH: Add support for a configuration file and log level configuration

Stefan Kober posted 3 patches 2 weeks, 5 days ago
Failed in applying to current master (apply log)
NEWS.rst                       |  5 +++++
src/ch/ch.conf                 | 11 ++++++++++
src/ch/ch_conf.c               | 31 ++++++++++++++++++++++++++
src/ch/ch_conf.h               | 18 +++++++++++++++
src/ch/ch_driver.c             |  6 +++++
src/ch/ch_monitor.c            |  6 +++++
src/ch/libvirtd_ch.aug         | 40 ++++++++++++++++++++++++++++++++++
src/ch/meson.build             | 12 ++++++++++
src/ch/test_libvirtd_ch.aug.in |  5 +++++
9 files changed, 134 insertions(+)
create mode 100644 src/ch/ch.conf
create mode 100644 src/ch/libvirtd_ch.aug
create mode 100644 src/ch/test_libvirtd_ch.aug.in
[PATCH v4 0/3] CH: Add support for a configuration file and log level configuration
Posted by Stefan Kober 2 weeks, 5 days ago
Similar to the qemu.conf file that allows QEMU specific configurations we add
the possibility to specify a ch.conf file for Cloud Hypervisor configuration.

The initial single config option is the log level, which sets the verbosity of
the Cloud Hypervisor process. This allows for simpler debugging when using
Cloud Hypervisor via libvirt.

Stefan Kober (3):
  ch: Add config file support
  ch: add log level configuration option
  NEWS: ch: announce log_level config option

 NEWS.rst                       |  5 +++++
 src/ch/ch.conf                 | 11 ++++++++++
 src/ch/ch_conf.c               | 31 ++++++++++++++++++++++++++
 src/ch/ch_conf.h               | 18 +++++++++++++++
 src/ch/ch_driver.c             |  6 +++++
 src/ch/ch_monitor.c            |  6 +++++
 src/ch/libvirtd_ch.aug         | 40 ++++++++++++++++++++++++++++++++++
 src/ch/meson.build             | 12 ++++++++++
 src/ch/test_libvirtd_ch.aug.in |  5 +++++
 9 files changed, 134 insertions(+)
 create mode 100644 src/ch/ch.conf
 create mode 100644 src/ch/libvirtd_ch.aug
 create mode 100644 src/ch/test_libvirtd_ch.aug.in

-- 
2.50.1
Re: [PATCH v4 0/3] CH: Add support for a configuration file and log level configuration
Posted by Michal Prívozník via Devel 2 weeks, 5 days ago
On 8/18/25 11:20, Stefan Kober wrote:
> Similar to the qemu.conf file that allows QEMU specific configurations we add
> the possibility to specify a ch.conf file for Cloud Hypervisor configuration.
> 
> The initial single config option is the log level, which sets the verbosity of
> the Cloud Hypervisor process. This allows for simpler debugging when using
> Cloud Hypervisor via libvirt.
> 
> Stefan Kober (3):
>   ch: Add config file support
>   ch: add log level configuration option
>   NEWS: ch: announce log_level config option
> 
>  NEWS.rst                       |  5 +++++
>  src/ch/ch.conf                 | 11 ++++++++++
>  src/ch/ch_conf.c               | 31 ++++++++++++++++++++++++++
>  src/ch/ch_conf.h               | 18 +++++++++++++++
>  src/ch/ch_driver.c             |  6 +++++
>  src/ch/ch_monitor.c            |  6 +++++
>  src/ch/libvirtd_ch.aug         | 40 ++++++++++++++++++++++++++++++++++
>  src/ch/meson.build             | 12 ++++++++++
>  src/ch/test_libvirtd_ch.aug.in |  5 +++++
>  9 files changed, 134 insertions(+)
>  create mode 100644 src/ch/ch.conf
>  create mode 100644 src/ch/libvirtd_ch.aug
>  create mode 100644 src/ch/test_libvirtd_ch.aug.in
> 


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

and merged. Kudos for remembering to update NEWS.rst ;-)

Michal