]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Update documentation for qemu.conf keys
authorAndrea Bolognani <abologna@redhat.com>
Fri, 5 May 2023 16:55:46 +0000 (18:55 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 10 May 2023 16:54:15 +0000 (18:54 +0200)
Reflect the new default value, and explain that a runtime
lookup will be performed if the value is not an absolute path.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu.conf.in
src/qemu/test_libvirtd_qemu.aug.in

index 3895d425147438f65aed505a61edbee7127dbbd7..e1a9a5e56d56091c12a5c3a51e989bec68674eb6 100644 (file)
 # is used to create <source type='bridge'> interfaces when libvirtd is
 # running unprivileged.  libvirt invokes the helper directly, instead
 # of using "-netdev bridge", for security reasons.
-#bridge_helper = "/usr/libexec/qemu-bridge-helper"
+# If this is not an absolute path, the program will be searched for
+# in $PATH as well as a few additional directories.
+#bridge_helper = "qemu-bridge-helper"
 
 
 # If enabled, libvirt will have QEMU set its process name to
 
 # Path to the SCSI persistent reservations helper. This helper is
 # used whenever <reservations/> are enabled for SCSI LUN devices.
-#pr_helper = "/usr/bin/qemu-pr-helper"
+# If this is not an absolute path, the program will be searched for
+# in $PATH as well as a few additional directories.
+#pr_helper = "qemu-pr-helper"
 
 # Path to the SLIRP networking helper.
 #slirp_helper = "/usr/bin/slirp-helper"
index 1dbd692921af74b38875aa2971b4768b850c8487..af993318868090ef59a053fd1756d6c79db9f727 100644 (file)
@@ -75,7 +75,7 @@ module Test_libvirtd_qemu =
 { "auto_dump_bypass_cache" = "0" }
 { "auto_start_bypass_cache" = "0" }
 { "hugetlbfs_mount" = "/dev/hugepages" }
-{ "bridge_helper" = "/usr/libexec/qemu-bridge-helper" }
+{ "bridge_helper" = "qemu-bridge-helper" }
 { "set_process_name" = "1" }
 { "max_processes" = "0" }
 { "max_files" = "0" }
@@ -107,7 +107,7 @@ module Test_libvirtd_qemu =
     { "1" = "mount" }
 }
 { "memory_backing_dir" = "/var/lib/libvirt/qemu/ram" }
-{ "pr_helper" = "/usr/bin/qemu-pr-helper" }
+{ "pr_helper" = "qemu-pr-helper" }
 { "slirp_helper" = "/usr/bin/slirp-helper" }
 { "dbus_daemon" = "/usr/bin/dbus-daemon" }
 { "swtpm_user" = "tss" }