]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virSystemdCreateMachine: Document @maxthreds
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Jun 2025 15:20:21 +0000 (17:20 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 8 Jul 2025 12:51:44 +0000 (14:51 +0200)
The parameter overrides the maximum number of threads for the machine.

Fixes: d5572f62e32
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virsystemd.c

index 92d2890360a2fb8a61a7e1483bd20c44be1d958d..4f8424ae32fda7eddb675e23bbca28bffb7e1675 100644 (file)
@@ -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
  */