[PATCH 01/10] virSystemdCreateMachine: Document @maxthreds

Peter Krempa via Devel posted 10 patches 5 months, 1 week ago
[PATCH 01/10] virSystemdCreateMachine: Document @maxthreds
Posted by Peter Krempa via Devel 5 months, 1 week ago
From: Peter Krempa <pkrempa@redhat.com>

The parameter overrides the maximum number of threads for the machine.

Fixes: d5572f62e32
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 src/util/virsystemd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
index 92d2890360..4f8424ae32 100644
--- a/src/util/virsystemd.c
+++ b/src/util/virsystemd.c
@@ -357,6 +357,7 @@ virSystemdGetMachineUnitByPID(pid_t pid)
  * @nnicindexes: number of network interface indexes in list
  * @nicindexes: list of network interface indexes
  * @partition: name of the slice to place the machine in
+ * @maxthreads: maximum number of threads the VM process can use
  *
  * Returns 0 on success, -1 on fatal error, or -2 if systemd-machine is not available
  */
-- 
2.49.0
Re: [PATCH 01/10] virSystemdCreateMachine: Document @maxthreds
Posted by Pavel Hrdina via Devel 5 months, 1 week ago
On Thu, Jul 03, 2025 at 02:50:24PM +0200, Peter Krempa via Devel wrote:
> From: Peter Krempa <pkrempa@redhat.com>
> 
> The parameter overrides the maximum number of threads for the machine.
> 
> Fixes: d5572f62e32
> Signed-off-by: Peter Krempa <pkrempa@redhat.com>
> ---
>  src/util/virsystemd.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>