]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Look for qemu-bridge-helper in more directories
authorAndrea Bolognani <abologna@redhat.com>
Fri, 27 Sep 2024 12:47:21 +0000 (14:47 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 30 Sep 2024 08:58:15 +0000 (10:58 +0200)
Commit 0caacf47d7b423db9126660fb0382ed56cd077c1 recently
made it so the new path used for qemu-bridge-helper in Debian
would be allowed, but the logic used to actually figure out
the complete path for the helper was not updated accordingly.

https://bugs.debian.org/1082530

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/hypervisor/domain_interface.c

index 5cdba279fa4eaa9056d61818f5718240ca7484df..5bc698d2727e1142e9c5dc30ac00975f268f98e8 100644 (file)
@@ -541,6 +541,7 @@ virDomainCreateInBridgePortWithHelper(const char *bridgeHelperName,
                                       unsigned int flags)
 {
     const char *const bridgeHelperDirs[] = {
+        "/usr/libexec/qemu",
         "/usr/libexec",
         "/usr/lib/qemu",
         "/usr/lib",