Re: [PATCH] ch: Support RNG device

2025-05-16 Thread stefan . kober
Awesome! Looking forward for more. Stefan

[PATCH 0/1] [RFC] Live migration support for ch driver

2025-05-20 Thread Stefan Kober
--live Opens: * What is required for a minimal viable live migration to be merged? * Job state tracking? (virDomainObjBeginJob, ...) * What should 'virsh domjobinfo' show? * Testing? * Anything else? Stefan Kober (1): Initial CH migrate API src/ch

[PATCH 1/1] Initial CH migrate API

2025-05-20 Thread Stefan Kober
--- src/ch/ch_conf.h | 4 + src/ch/ch_domain.h| 2 + src/ch/ch_driver.c| 362 +- src/ch/ch_monitor.c | 156 + src/ch/ch_monitor.h | 8 + src/ch/ch_process.c | 13

Re: [PATCH 0/1] [RFC] Live migration support for ch driver

2025-05-21 Thread stefan . kober
The POC currently detaches the network device prior to live migration because there is some missing cloud hypervisor support. We might want to restrict live mive migration to VMs without network devices until the issue is resolved in cloud hypervisor. See https://github.com/cloud-hypervisor/clo

[PATCH v2 1/3] ch: Add config file support

2025-05-27 Thread Stefan Kober
Similar to the QEMU driver, the ch driver receives support for configuration files that allows doing certain configuration on the virtchd daemon. The initial use case will be setting the verbosity of the cloud hypervisor instances started by virtchd, but the implementation allows for adding furthe

[PATCH v2 2/3] ch: add log level configuration option

2025-05-27 Thread Stefan Kober
Allow a user to set the verbosity of the cloud hypervisor instances by specifying it in the ch.conf configuration file. --- src/ch/ch.conf | 8 src/ch/ch_conf.c | 9 + src/ch/ch_conf.h | 15 +++ src/ch/ch_monitor.c

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

2025-05-27 Thread Stefan Kober
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

[PATCH v2 3/3] NEWS: ch: announce log_level config option

2025-05-27 Thread Stefan Kober
--- NEWS.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 636fcbd573..cfeddd10df 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,11 @@ v11.4.0 (unreleased) * **New features** + * Allow setting the log level of Cloud Hypervisor + +Users can now conf

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

2025-05-28 Thread Stefan Kober
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

[PATCH v3 1/3] ch: Add config file support

2025-05-28 Thread Stefan Kober
further options. Signed-off-by: Stefan Kober --- src/ch/ch.conf | 3 +++ src/ch/ch_conf.c | 22 ++ src/ch/ch_conf.h | 3 +++ src/ch/ch_driver.c | 6 ++ src/ch/libvirtd_ch.aug | 40 5 files changed, 74

[PATCH v3 3/3] NEWS: ch: announce log_level config option

2025-05-28 Thread Stefan Kober
Signed-off-by: Stefan Kober --- NEWS.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 636fcbd573..cfeddd10df 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,11 @@ v11.4.0 (unreleased) * **New features** + * Allow setting the log level of Cloud

[PATCH v3 2/3] ch: add log level configuration option

2025-05-28 Thread Stefan Kober
Allow a user to set the verbosity of the cloud hypervisor instances by specifying it in the ch.conf configuration file. Signed-off-by: Stefan Kober --- src/ch/ch.conf | 8 src/ch/ch_conf.c | 9 + src/ch/ch_conf.h | 15

[PATCH] ch: Support RNG device

2025-05-16 Thread Stefan Kober
Cloud Hypervisor supports virtio-rng devices and the configuration of the randomness source (e.g. /dev/random or /dev/urandom). This commit adds support for configuring the RNG device via libvirt for the ch driver. Signed-off-by: Stefan Kober --- src/ch/ch_domain.c | 8 +++- src/ch

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

2025-05-21 Thread Stefan Kober
debugging when using Cloud Hypervisor via libvirt. Stefan Kober (2): ch: Add config file support ch: add log level configuration option src/ch/ch_conf.c| 32 src/ch/ch_conf.h| 18 ++ src/ch/ch_driver.c | 6 ++ src/ch/ch_monitor.c | 6

[PATCH 1/2] ch: Add config file support

2025-05-21 Thread Stefan Kober
Similar to the QEMU driver, the ch driver receives support for configuration files that allows doing certain configuration on the virtchd daemon. The initial use case will be setting the verbosity of the cloud hypervisor instances started by virtchd, but the implementation allows for adding furthe

[PATCH 2/2] ch: add log level configuration option

2025-05-21 Thread Stefan Kober
Allow a user to set the verbosity of the cloud hypervisor instances by specifying it in the ch.conf configuration file. --- src/ch/ch_conf.c| 10 ++ src/ch/ch_conf.h| 15 +++ src/ch/ch_monitor.c | 6 ++ 3 files changed, 31 insertions(+) diff --git a/src/ch/ch_conf

Re: [PATCH 0/1] [RFC] Live migration support for ch driver

2025-06-02 Thread stefan . kober
Friendly bump :)

Re: [PATCH 1/1] Initial CH migrate API

2025-06-10 Thread stefan . kober
Hi Michal, thank you for your feedback! Much appreciated! As it was meant for early review, I wasn't caring too much about the commit structure and logging details. I promise to be more thoroughly next time. I will clean up the whole implementation later on and will address your feedback. Best

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

2025-06-13 Thread stefan . kober
bump :)