qemu: Look for qemu-bridge-helper in more directories

Commit 0caacf47d7 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>
This commit is contained in:
Andrea Bolognani 2024-09-27 14:47:21 +02:00
parent ed1fa1d197
commit 55c3c09197

View 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",