[libvirt PATCH v3] hypervisor: Move interface mgmt methods to hypervisor

2023-10-19 Thread Praveen K Paladugu
Move guest interface management methods from qemu to hypervisor. These methods will be shared by networking support in ch driver. Signed-off-by: Praveen K Paladugu --- po/POTFILES | 1 + src/hypervisor/domain_interface.c | 368 ++ src

[libvirt PATCH v2] hypervisor: Move interface mgmt methods to hypervisor

2023-10-16 Thread Praveen K Paladugu
Move guest interface management methods from qemu to hypervisor. These methods will be shared by networking support in ch driver. Signed-off-by: Praveen K Paladugu --- po/POTFILES | 1 + src/hypervisor/domain_interface.c | 280 ++ src

[libvirt PATCH] hypervisor: Move interface mgmt methods to hypervisor

2023-10-12 Thread Praveen K Paladugu
Move guest interface management methods from qemu to hypervisor. These methods will be shared by networking support in ch driver. Signed-off-by: Praveen K Paladugu --- po/POTFILES | 1 + src/hypervisor/domain_interface.c | 279 ++ src

[libvirt PATCH 2/2] ch: support serial and console devices in parallel

2023-10-10 Thread Praveen K Paladugu
Starting v18, cloud-hypervisor supports serial and console devices in parallel. Drop related check based on ch version. Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/ch/ch_domain.c

[libvirt PATCH 1/2] ch: use payload api to send kernel details

2023-10-10 Thread Praveen K Paladugu
Starting with v28.0 cloud-hypervisor requires the use of "payload" api to pass kernel, initramfs and cmdline options. Extend ch driver to use the new api based on ch version. Signed-off-by: Praveen K Paladugu --- src/ch/ch_capabilities.c | 55 ++

[libvirt PATCH 0/2] ch: Use payload api

2023-10-10 Thread Praveen K Paladugu
lease, v28, that will be supported until May 24. All versions older than v28 have reached EOL. Can I bump up the min version of cloud-hypervisor to v28 in ch driver? If I can bump up the min supported version in ch driver, I can drop a check in this commit related to supporting serial and console devices in parallel.

[libvirt PATCH v4] ch: Fix cloud-hypervisor version processing

2023-09-08 Thread Praveen K Paladugu
Refactor the version processing logic in ch driver to support versions from non-release cloud-hypervisor binaries. This version also supports versions with branch prefixes in them. Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c | 34 -- 1 file changed, 32

[libvirt PATCH v3] ch: Fix cloud-hypervisor version processing

2023-09-06 Thread Praveen K Paladugu
Refactor the version processing logic in ch driver to support versions from non-release cloud-hypervisor binaries. This version also supports versions with branch prefixes in them. Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c | 42 -- 1 file

[libvirt PATCH v2] ch: Fix cloud-hypervisor version processing

2023-09-05 Thread Praveen K Paladugu
Refactor the version processing logic in ch driver to support versions from non-release cloud-hypervisor binaries. This version also supports versions with branch prefixes in them. Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c | 39 --- 1 file

[libvirt PATCH 1/1] ch: Do not add stub console to ch VMs

2023-02-09 Thread Praveen K Paladugu
. This commit introduces NO_STUB_CONSOLE feature check to Domain features and uses it to skip adding stub console to ch VMs. Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 1 + src/conf/domain_conf.c | 7 --- src/conf/domain_conf.h | 1 + 3 files changed, 6 insertions(+), 3

[libvirt PATCH 0/1] Do not add stub console to ch VMs

2023-02-09 Thread Praveen K Paladugu
This patch resolves https://gitlab.com/libvirt/libvirt/-/issues/344 I tested various versions of cloud-hypervisor between v15 - v29. All of them fail to start a test VM without this patch. Praveen K Paladugu (1): ch: Do not add stub console to ch VMs src/ch/ch_domain.c | 1 + src/conf

Re: Live migration support for Cloud-Hypervisor VMs

2022-08-03 Thread Praveen K Paladugu
Thanks for the details and recommendations Daniel!! On 8/2/2022 11:19 AM, Daniel P. Berrangé wrote: On Mon, Aug 01, 2022 at 11:03:49AM -0500, Praveen K Paladugu wrote: Folks, We are implementing Live Migration support in "ch" driver of Libvirt. I'd like to confirm if the approa

Re: [libvirt PATCH 2/2] conf: set the default chr device type to pty

2022-08-02 Thread Praveen K Paladugu
On 8/1/2022 8:01 AM, Peter Krempa wrote: On Fri, Jul 29, 2022 at 20:36:57 +, Praveen K Paladugu wrote: explicitly set the chr device type to pty to pass the checks of ch driver. https://gitlab.com/libvirt/libvirt/-/issues/344 This is not a persuading enough enough commit message

Live migration support for Cloud-Hypervisor VMs

2022-08-01 Thread Praveen K Paladugu
llow Live VM Migration. FYI, I had an early discussion on this topic at https://gitlab.com/libvirt/libvirt/-/issues/352 and Peter suggested I follow here for broader discussion. Also Peter, rightly, suggested we look at enabling encryption of VM data in cloud-hypervisor. This is something we will

[libvirt PATCH 1/2] ch: drop the check to have a single console/serial

2022-07-29 Thread Praveen K Paladugu
Starting with version 18.0, cloud-hypervisor supports a console and a serial device in parallel. https://github.com/cloud-hypervisor/cloud-hypervisor/issues/3012 Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git

[libvirt PATCH 2/2] conf: set the default chr device type to pty

2022-07-29 Thread Praveen K Paladugu
explicitly set the chr device type to pty to pass the checks of ch driver. https://gitlab.com/libvirt/libvirt/-/issues/344 Signed-off-by: Praveen K Paladugu --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index

[libvirt PATCH 0/2] fix console device access in ch driver

2022-07-29 Thread Praveen K Paladugu
nitialized to VIR_DOMAIN_CHR_TYPE_NULL, when in fact the device added is a pty device. This patch modifies the default console device type to "pty". I looked at NOT adding Compat Console devices for ch VMs. But this looked like a better fix. Praveen K Paladugu (2): ch: drop the check to have a single c

Re: [libvirt PATCH v5 0/7] cgroup and thread management in ch driver

2022-02-01 Thread Praveen K Paladugu
On 1/28/2022 10:05 AM, Michal Prívozník wrote: On 1/25/22 17:19, Praveen K Paladugu wrote: This patchset adds support for cgroup management of ch threads. This version correctly manages cgroups for vcpu and emulator threads created by ch. cgroup management for iothreads is not yet supported

Re: [libvirt PATCH v5 0/7] cgroup and thread management in ch driver

2022-01-28 Thread Praveen K Paladugu
Ping.. If this patch set is ready to be merged, I'd like to get started on next set. Thank you, Praveen K Paladugu On 1/25/2022 10:19 AM, Praveen K Paladugu wrote: This patchset adds support for cgroup management of ch threads. This version correctly manages cgroups for vcpu and emulator

[libvirt PATCH v5 4/7] ch_driver: enable typed param string for numatune

2022-01-25 Thread Praveen K Paladugu
From: Vineeth Pillai Enable support of VIR_DRV_FEATURE_TYPED_PARAM_STRING to enable numatune Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch

[libvirt PATCH v5 0/7] cgroup and thread management in ch driver

2022-01-25 Thread Praveen K Paladugu
style * fixed build issue in qemu driver that was introduced in v2 Praveen K Paladugu (3): qemu,hypervisor: refactor some cgroup mgmt methods ch_process: Setup emulator and iothread settings ch_driver: emulator threadinfo & pinning callbacks Vineeth Pillai (4): ch: methods for cgroup

[libvirt PATCH v5 1/7] qemu, hypervisor: refactor some cgroup mgmt methods

2022-01-25 Thread Praveen K Paladugu
Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared with ch driver for cgroup management. Signed-off-by: Praveen K Paladugu --- src/hypervisor/domain_cgroup.c | 457 - src/hypervisor/domain_cgroup.h | 72 ++ src

[libvirt PATCH v5 3/7] ch_driver, ch_domain: vcpupin callback in ch driver

2022-01-25 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 30 + src/ch/ch_domain.h | 7 ++- src/ch/ch_driver.c | 145 src/ch/ch_monitor.c | 2 +- 4 files changed, 181 insertions

[libvirt PATCH v5 6/7] ch_process: Setup emulator and iothread settings

2022-01-25 Thread Praveen K Paladugu
using virCHProcessSetupPid Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 60 +++ src/ch/ch_monitor.h | 2 ++ src/ch/ch_process.c | 77 - 3 files changed, 138 insertions(+), 1 deletion(-) diff --git a/src

[libvirt PATCH v5 2/7] ch: methods for cgroup mgmt in ch driver

2022-01-25 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c| 2 + src/ch/ch_conf.h| 4 +- src/ch/ch_domain.c | 34 + src/ch/ch_domain.h | 11 +- src/ch/ch_monitor.c | 96 ++ src/ch/ch_monitor.h | 54 +++- src

[libvirt PATCH v5 7/7] ch_driver: emulator threadinfo & pinning callbacks

2022-01-25 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 154 + 1 file changed, 154 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index d257c025ef..d60ff468f0 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -1303,6

[libvirt PATCH v5 5/7] ch_driver: add numatune callbacks for CH driver

2022-01-25 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 260 + 1 file changed, 260 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 32ae15f940..d257c025ef 100644

[libvirt PATCH v4 6/7] ch_process: Setup emulator and iothread settings

2022-01-11 Thread Praveen K Paladugu
using virCHProcessSetupPid Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 60 +++ src/ch/ch_monitor.h | 2 ++ src/ch/ch_process.c | 77 - 3 files changed, 138 insertions(+), 1 deletion(-) diff --git a/src

[libvirt PATCH v4 4/7] ch_driver: enable typed param string for numatune

2022-01-11 Thread Praveen K Paladugu
From: Vineeth Pillai Enable support of VIR_DRV_FEATURE_TYPED_PARAM_STRING to enable numatune Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch

[libvirt PATCH v4 1/7] qemu, hypervisor: refactor some cgroup mgmt methods

2022-01-11 Thread Praveen K Paladugu
Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared with ch driver for cgroup management. Signed-off-by: Praveen K Paladugu --- src/hypervisor/domain_cgroup.c | 457 - src/hypervisor/domain_cgroup.h | 72 ++ src

[libvirt PATCH v4 5/7] ch_driver: add numatune callbacks for CH driver

2022-01-11 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 260 + 1 file changed, 260 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 408aae2cd6..e3c0ae2952 100644

[libvirt PATCH v4 7/7] ch_driver: emulator threadinfo & pinning callbacks

2022-01-11 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 154 + 1 file changed, 154 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index e3c0ae2952..bf5bb3696c 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -1303,6

[libvirt PATCH v4 3/7] ch_driver, ch_domain: vcpupin callback in ch driver

2022-01-11 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 30 + src/ch/ch_domain.h | 7 ++- src/ch/ch_driver.c | 145 src/ch/ch_monitor.c | 2 +- 4 files changed, 181 insertions

[libvirt PATCH v4 2/7] ch: methods for cgroup mgmt in ch driver

2022-01-11 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c| 2 + src/ch/ch_conf.h| 4 +- src/ch/ch_domain.c | 34 + src/ch/ch_domain.h | 11 +- src/ch/ch_monitor.c | 96 ++ src/ch/ch_monitor.h | 54 +++- src

[libvirt PATCH v4 0/7] cgroup and thread management in ch driver.

2022-01-11 Thread Praveen K Paladugu
in v2 Praveen K Paladugu (3): qemu,hypervisor: refactor some cgroup mgmt methods ch_process: Setup emulator and iothread settings ch_driver: emulator threadinfo & pinning callbacks Vineeth Pillai (4): ch: methods for cgroup mgmt in ch driver ch_driver,ch_domain: vcpupin callback i

Re: [libvirt PATCH v3 00/13] cgroup and thread management in ch driver.

2022-01-05 Thread Praveen K Paladugu
Folks, I'd like to get this patch set in next release. Bubbling up this thread as it was sent out before the holidays. Regards, Praveen K Paladugu On 12/10/2021 2:34 PM, Praveen K Paladugu wrote: This patchset adds support for cgroup management of ch threads. This version correctly manages

Re: [libvirt PATCH v2 03/17] ch_domain: fix indentation in ch_domain

2021-12-10 Thread Praveen K Paladugu
On 12/3/2021 11:28 AM, Ján Tomko wrote: On a Thursday in 2021, Praveen K Paladugu wrote: Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 130 ++--- 1 file changed, 64 insertions(+), 66 deletions(-) diff --git a/src/ch/ch_domain.c b/src/ch

Re: [libvirt PATCH v2 02/17] util: Helper functions to get process info

2021-12-10 Thread Praveen K Paladugu
On 12/3/2021 11:26 AM, Ján Tomko wrote: On a Thursday in 2021, Praveen K Paladugu wrote: Signed-off-by: Praveen K Paladugu It would be helpful to say in the commit message that the functions are being moved, not newly introduced. Fixed in v3 Jano --- src/libvirt_private.syms |   2

Re: [libvirt PATCH v2 11/17] qemu, hypervisor: refactor some cgroup mgmt methods

2021-12-10 Thread Praveen K Paladugu
On 12/3/2021 11:38 AM, Ján Tomko wrote: On a Thursday in 2021, Praveen K Paladugu wrote: Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared by ch driver for cgroup management. The QEMU driver fails to compile after this patch - it seems

[libvirt PATCH v3 11/13] ch_driver: add numatune callbacks for CH driver

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 273 + 1 file changed, 273 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 03db6b2bc8..d7008ef011 100644

[libvirt PATCH v3 04/13] ch_driver, ch_domain: vcpu info getter callbacks

2021-12-10 Thread Praveen K Paladugu
Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 25 + src/ch/ch_domain.h | 4 ++ src/ch/ch_driver.c | 134 + 3 files changed, 163 insertions(+) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c

[libvirt PATCH v3 12/13] ch_process: Setup emulator and iothread settings

2021-12-10 Thread Praveen K Paladugu
using virCHProcessSetupPid Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 60 +++ src/ch/ch_monitor.h | 2 ++ src/ch/ch_process.c | 77 - 3 files changed, 138 insertions(+), 1 deletion(-) diff --git a/src

[libvirt PATCH v3 08/13] ch: methods for cgroup mgmt in ch driver

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c| 2 + src/ch/ch_conf.h| 4 +- src/ch/ch_domain.c | 34 + src/ch/ch_domain.h | 3 +- src/ch/ch_monitor.c | 96 ++ src/ch/ch_monitor.h | 54 +++- src

[libvirt PATCH v3 07/13] qemu, hypervisor: refactor some cgroup mgmt methods

2021-12-10 Thread Praveen K Paladugu
Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared with ch driver for cgroup management. Signed-off-by: Praveen K Paladugu --- src/hypervisor/domain_cgroup.c | 426 - src/hypervisor/domain_cgroup.h | 52 src

[libvirt PATCH v3 02/13] ch_domain: add virCHDomainGetMonitor helper method

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 6 ++ src/ch/ch_domain.h | 5 + 2 files changed, 11 insertions(+) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c index dd4de9e1ea..bf4ce83595 100644 --- a/src/ch

[libvirt PATCH v3 00/13] cgroup and thread management in ch driver.

2021-12-10 Thread Praveen K Paladugu
threads to selected host cpus. v3: * addrressed all the formatting comments in v2 patch set * dropped indentation patches are they do not adhere to libvirt coding style * fixed build issue in qemu driver that was introduced in v2 Praveen K Paladugu (5): util: Helper functions to get process info

[libvirt PATCH v3 09/13] ch_driver, ch_domain: vcpupin callback in ch driver

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 30 + src/ch/ch_domain.h | 1 + src/ch/ch_driver.c | 145 src/ch/ch_monitor.c | 2 +- 4 files changed, 177 insertions

[libvirt PATCH v3 10/13] ch_driver: enable typed param string for numatune

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Enable support of VIR_DRV_FEATURE_TYPED_PARAM_STRING to enable numatune Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch

[libvirt PATCH v3 06/13] ch_monitor: Get nicindexes in prep for cgroup mgmt

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.h| 2 + src/ch/ch_domain.c | 27 ++- src/ch/ch_domain.h | 2 + src/ch/ch_driver.c | 1 + src/ch/ch_monitor.c | 185 ++-- src/ch

[libvirt PATCH v3 01/13] util: Helper functions to get process info

2021-12-10 Thread Praveen K Paladugu
Move qemuGetProcessInfo and qemuGetSchedInfo methods to util and share them with ch driver. Signed-off-by: Praveen K Paladugu --- src/libvirt_private.syms | 2 + src/qemu/qemu_driver.c | 116 ++- src/util/virprocess.c| 108

[libvirt PATCH v3 03/13] ch_domain: add methods to manage private vcpu data

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 50 +- src/ch/ch_domain.h | 11 ++ 2 files changed, 56 insertions(+), 5 deletions(-) diff --git a/src/ch/ch_domain.c b/src/ch

[libvirt PATCH v3 13/13] ch_driver: emulator threadinfo & pinning callbacks

2021-12-10 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 154 + 1 file changed, 154 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index d7008ef011..1f40f6561a 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -1297,6

[libvirt PATCH v3 05/13] ch_driver: domainGetVcpuPinInfo and nodeGetCPUMap

2021-12-10 Thread Praveen K Paladugu
From: Vineeth Pillai Add domainGetVcpuPinInfo and nodeGetCPUMap callbacks to ch driver Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.h | 10 +++-- src/ch/ch_driver.c | 51 ++ 2 files changed, 59 insertions

Re: [libvirt PATCH v2 11/17] qemu, hypervisor: refactor some cgroup mgmt methods

2021-12-03 Thread Praveen K Paladugu
On 12/3/2021 11:38 AM, Ján Tomko wrote: On a Thursday in 2021, Praveen K Paladugu wrote: Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared by ch driver for cgroup management. The QEMU driver fails to compile after this patch - it seems

Re: [libvirt PATCH v2 01/17] util: fix indentation in virprocess.c

2021-12-03 Thread Praveen K Paladugu
On 12/3/2021 11:25 AM, Ján Tomko wrote: On a Thursday in 2021, Praveen K Paladugu wrote: Signed-off-by: Praveen K Paladugu Most of these indentation fixes here are against our coding style: https://libvirt.org/coding-style.html It is hard to follow all the formatting guidelines manually

[libvirt PATCH v2 11/17] qemu, hypervisor: refactor some cgroup mgmt methods

2021-12-02 Thread Praveen K Paladugu
Refactor some cgroup management methods from qemu into hypervisor. These methods will be shared by ch driver for cgroup management. Signed-off-by: Praveen K Paladugu --- src/hypervisor/domain_cgroup.c | 426 - src/hypervisor/domain_cgroup.h | 52 src

[libvirt PATCH v2 17/17] ch_driver: emulator threadinfo & pinning callbacks

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 154 + 1 file changed, 154 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 8c14829d2a..100c54163e 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -1309,6

[libvirt PATCH v2 04/17] ch_domain: add virCHDomainGetMonitor helper method

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 6 ++ src/ch/ch_domain.h | 5 + 2 files changed, 11 insertions(+) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c index 44f7d26ca4..7bfe950822 100644 --- a/src/ch

[libvirt PATCH v2 16/17] ch_process: Setup emulator and iothread settings

2021-12-02 Thread Praveen K Paladugu
using virCHProcessSetupPid Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 60 ++ src/ch/ch_monitor.h | 2 ++ src/ch/ch_process.c | 78 +++-- 3 files changed, 138 insertions(+), 2 deletions(-) diff --git a/src

[libvirt PATCH v2 06/17] ch_driver: fix indentation in ch_driver

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 241 +++-- 1 file changed, 121 insertions(+), 120 deletions(-) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 464bcef907..75c6a15dd6 100644 --- a/src/ch/ch_driver.c +++ b/src/ch

[libvirt PATCH v2 01/17] util: fix indentation in virprocess.c

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/util/virprocess.c | 501 +- 1 file changed, 249 insertions(+), 252 deletions(-) diff --git a/src/util/virprocess.c b/src/util/virprocess.c index 7b0ad9c97b..8288e71f67 100644 --- a/src/util/virprocess.c +++ b/src

[libvirt PATCH v2 12/17] ch: methods for cgroup mgmt in ch driver

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.c| 2 + src/ch/ch_conf.h| 4 +- src/ch/ch_domain.c | 34 + src/ch/ch_domain.h | 3 +- src/ch/ch_monitor.c | 96 ++ src/ch/ch_monitor.h | 54 +++- src

[libvirt PATCH v2 10/17] ch_monitor: Get nicindexes in prep for cgroup mgmt

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.h| 2 ++ src/ch/ch_domain.c | 27 +- src/ch/ch_domain.h | 4 +-- src/ch/ch_driver.c | 1 + src/ch/ch_monitor.c | 86 + src

[libvirt PATCH v2 00/17] cgroup and thread management in ch driver

2021-12-02 Thread Praveen K Paladugu
/hypervisor and shared with ch driver. 2) virProcessGetStatInfo, virProcessGetSchedInfo which were copied from qemu driver are moved to util and shared between qemu and ch drviers. Praveen K Paladugu (9): util: fix indentation in virprocess.c util: Helper functions to get process info ch_domain: fix

[libvirt PATCH v2 13/17] ch_driver, ch_domain: vcpupin callback in ch driver

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 30 + src/ch/ch_domain.h | 1 + src/ch/ch_driver.c | 151 + 3 files changed, 182 insertions(+) diff --git a/src/ch/ch_domain.c

[libvirt PATCH v2 07/17] ch_driver, ch_domain: vcpu info getter callbacks

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 25 + src/ch/ch_domain.h | 4 ++ src/ch/ch_driver.c | 137 + 3 files changed, 166 insertions(+) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c

[libvirt PATCH v2 14/17] ch_driver: enable typed param string for numatune

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Enable support of VIR_DRV_FEATURE_TYPED_PARAM_STRING to enable numatune Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch

[libvirt PATCH v2 15/17] ch_driver: add numatune callbacks for CH driver

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 316 ++--- 1 file changed, 297 insertions(+), 19 deletions(-) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index c6dcc33f5e

[libvirt PATCH v2 08/17] ch_driver: domainGetVcpuPinInfo and nodeGetCPUMap

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Add domainGetVcpuPinInfo and nodeGetCPUMap callbacks to ch driver Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.h | 12 +-- src/ch/ch_driver.c | 54 +- 2 files changed, 63

[libvirt PATCH v2 05/17] ch_domain: add methods to manage private vcpu data

2021-12-02 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 50 +- src/ch/ch_domain.h | 11 ++ 2 files changed, 56 insertions(+), 5 deletions(-) diff --git a/src/ch/ch_domain.c b/src/ch

[libvirt PATCH v2 02/17] util: Helper functions to get process info

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/libvirt_private.syms | 2 + src/qemu/qemu_driver.c | 116 ++- src/util/virprocess.c| 108 src/util/virprocess.h| 5 ++ 4 files changed, 120 insertions(+), 111

[libvirt PATCH v2 03/17] ch_domain: fix indentation in ch_domain

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 130 ++--- 1 file changed, 64 insertions(+), 66 deletions(-) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c index dd4de9e1ea..44f7d26ca4 100644 --- a/src/ch/ch_domain.c +++ b/src/ch

[libvirt PATCH v2 09/17] ch_monitor: fix indentation in ch_monitor.c

2021-12-02 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 301 +++- 1 file changed, 161 insertions(+), 140 deletions(-) diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c index 12c10da874..68fa5b30aa 100644 --- a/src/ch/ch_monitor.c +++ b/src/ch

Re: [libvirt PATCH 00/13] cgroup and thread management in ch driver.

2021-11-16 Thread Praveen K Paladugu
On 10/24/2021 9:59 PM, Yan Fu wrote: Hi, Could you give a reference link for ch driver please? Thanks, Yan Fu Sorry about the delay with my response. What do you mean by a reference link? On Fri, Oct 22, 2021 at 11:43 PM Praveen K Paladugu mailto:pra...@linux.microsoft.com>>

Re: [libvirt PATCH 08/13] ch_cgroup: methods for cgroup mgmt in ch driver

2021-11-15 Thread Praveen K Paladugu
On 10/29/2021 7:31 AM, Michal Prívozník wrote: On 10/22/21 5:37 PM, Praveen K Paladugu wrote: From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- po/POTFILES.in | 1 + src/ch/ch_cgroup.c | 457

Re: [libvirt PATCH 01/13] util: Helper functions to get process info

2021-11-11 Thread Praveen K Paladugu
On 11/11/2021 3:25 AM, Michal Prívozník wrote: On 11/10/21 9:49 PM, Praveen K Paladugu wrote: On 10/29/2021 7:31 AM, Michal Prívozník wrote: On 10/22/21 5:37 PM, Praveen K Paladugu wrote: From: Vineeth Pillai These helper methods are used to capture vcpu information in ch driver

Re: [libvirt PATCH 01/13] util: Helper functions to get process info

2021-11-11 Thread Praveen K Paladugu
On 11/11/2021 3:19 AM, Daniel P. Berrangé wrote: On Wed, Nov 10, 2021 at 02:49:57PM -0600, Praveen K Paladugu wrote: On 10/29/2021 7:31 AM, Michal Prívozník wrote: On 10/22/21 5:37 PM, Praveen K Paladugu wrote: From: Vineeth Pillai These helper methods are used to capture vcpu

Re: [libvirt PATCH 01/13] util: Helper functions to get process info

2021-11-10 Thread Praveen K Paladugu
On 10/29/2021 7:31 AM, Michal Prívozník wrote: On 10/22/21 5:37 PM, Praveen K Paladugu wrote: From: Vineeth Pillai These helper methods are used to capture vcpu information in ch driver. Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/util/virprocess.c | 136

Re: [libvirt PATCH 08/13] ch_cgroup: methods for cgroup mgmt in ch driver

2021-11-10 Thread Praveen K Paladugu
On 10/29/2021 7:31 AM, Michal Prívozník wrote: On 10/22/21 5:37 PM, Praveen K Paladugu wrote: From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- po/POTFILES.in | 1 + src/ch/ch_cgroup.c | 457

Re: [libvirt PATCH 01/13] util: Helper functions to get process info

2021-11-02 Thread Praveen K Paladugu
Hey Michal, Thanks for your review of this patch set. I am Out of Office for 2 weeks. I will send an updated patch set addressing all your comments, next week. -- Regards, Praveen K Paladugu

[libvirt PATCH 09/13] ch_driver, ch_domain: vcpupin callback in ch driver

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 30 + src/ch/ch_domain.h | 1 + src/ch/ch_driver.c | 151 + 3 files changed, 182 insertions(+) diff --git a/src/ch/ch_domain.c

[libvirt PATCH 10/13] ch_driver: enable typed param string for numatune

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Enable support of VIR_DRV_FEATURE_TYPED_PARAM_STRING to enable numatune Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch

[libvirt PATCH 06/13] ch_driver: domainGetVcpuPinInfo and nodeGetCPUMap

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Add domainGetVcpuPinInfo and nodeGetCPUMap callbacks to ch driver Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.h | 12 +-- src/ch/ch_driver.c | 54 ++ 2 files changed, 64

[libvirt PATCH 11/13] ch_driver: add numatune callbacks for CH driver

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 278 + 1 file changed, 278 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 9ad23c1710..97dfda85e1 100644

[libvirt PATCH 07/13] ch_monitor: Get nicindexes in prep for cgroup mgmt

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen Paladugu Signed-off-by: Praveen K Paladugu --- src/ch/ch_conf.h| 5 +++ src/ch/ch_domain.c | 26 +- src/ch/ch_domain.h | 4 +-- src/ch/ch_driver.c | 4 ++- src/ch/ch_monitor.c | 85

[libvirt PATCH 12/13] ch_process: Setup emulator and iothread settings

2021-10-22 Thread Praveen K Paladugu
using virCHProcessSetupPid Signed-off-by: Praveen K Paladugu --- src/ch/ch_monitor.c | 60 ++ src/ch/ch_monitor.h | 2 ++ src/ch/ch_process.c | 78 +++-- 3 files changed, 138 insertions(+), 2 deletions(-) diff --git a/src

[libvirt PATCH 13/13] ch_driver: emulator threadinfo & pinning callbacks

2021-10-22 Thread Praveen K Paladugu
Signed-off-by: Praveen K Paladugu --- src/ch/ch_driver.c | 154 + 1 file changed, 154 insertions(+) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 97dfda85e1..786e2292a5 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -1321,6

[libvirt PATCH 08/13] ch_cgroup: methods for cgroup mgmt in ch driver

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- po/POTFILES.in | 1 + src/ch/ch_cgroup.c | 457 src/ch/ch_cgroup.h | 45 + src/ch/ch_conf.c| 2 + src/ch/ch_conf.h| 4 +- src/ch

[libvirt PATCH 05/13] ch_driver, ch_domain: vcpu info getter callbacks

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 25 src/ch/ch_domain.h | 4 ++ src/ch/ch_driver.c | 138 + 3 files changed, 167 insertions(+) diff --git a/src/ch/ch_domain.c

[libvirt PATCH 02/13] ch: Explicitly link to virt_util_lib

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai link to virt_util_lib while building ch driver. Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ch/meson.build b/src/ch/meson.build index e34974d56c..5c6cab2a9f 100644

[libvirt PATCH 03/13] ch_domain: add virCHDomainGetMonitor helper method

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 6 ++ src/ch/ch_domain.h | 5 + 2 files changed, 11 insertions(+) diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c index 9d32d8669a..ae79b47253 100644 --- a/src/ch

[libvirt PATCH 00/13] cgroup and thread management in ch driver.

2021-10-22 Thread Praveen K Paladugu
threads to selected host cpus. Praveen K Paladugu (2): ch_process: Setup emulator and iothread settings ch_driver: emulator threadinfo & pinning callbacks Vineeth Pillai (11): util: Helper functions to get process info ch: Explicitly link to virt_util_lib ch_domain:

[libvirt PATCH 04/13] ch_domain: add methods to manage private vcpu data

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/ch/ch_domain.c | 50 +- src/ch/ch_domain.h | 11 ++ 2 files changed, 56 insertions(+), 5 deletions(-) diff --git a/src/ch/ch_domain.c b/src/ch

[libvirt PATCH 01/13] util: Helper functions to get process info

2021-10-22 Thread Praveen K Paladugu
From: Vineeth Pillai These helper methods are used to capture vcpu information in ch driver. Signed-off-by: Vineeth Pillai Signed-off-by: Praveen K Paladugu --- src/util/virprocess.c | 136 ++ src/util/virprocess.h | 5 ++ 2 files changed, 141

Re: [PATCH v1] tools: add virt-host-validate-ch for ch driver

2021-10-12 Thread Praveen K Paladugu
On 10/12/2021 10:32 AM, Michal Prívozník wrote: On 10/7/21 11:49 PM, Praveen K Paladugu wrote: Signed-off-by: Wei-Chen Chen Signed-off-by: Praveen K Paladugu --- po/POTFILES.in| 1 + tools/meson.build | 5 +++ tools/virt-host-validate-ch.c | 85

[PATCH v1] tools: add virt-host-validate-ch for ch driver

2021-10-07 Thread Praveen K Paladugu
Signed-off-by: Wei-Chen Chen Signed-off-by: Praveen K Paladugu --- po/POTFILES.in| 1 + tools/meson.build | 5 +++ tools/virt-host-validate-ch.c | 85 +++ tools/virt-host-validate-ch.h | 24 ++ tools/virt-host-validate.c

Re: Libvirt CI for running functional tests

2021-06-04 Thread Praveen K Paladugu
Erik, Thanks for this detailed response. It answers many questions we had about CI for libvirt. On 6/2/2021 3:32 AM, Erik Skultety wrote: On Thu, May 27, 2021 at 11:17:04AM -0500, Praveen K Paladugu wrote: Hi, While developing cloud-hypervisor driver for libvirt, we re-fitted cloud

Libvirt CI for running functional tests

2021-05-27 Thread Praveen K Paladugu
you please clarify libvirt project's plan for setting up a CI to run functional tests. Regards, Praveen K Paladugu