vmspawn: also search for qemu binary at /usr/lib/qemu-kvm

This is the qemu binary path on CentOS Stream.
This commit is contained in:
Daan De Meyer
2026-04-05 09:55:09 +02:00
committed by Daan De Meyer
parent 51e04b7e90
commit 41da1ae6a0
+1 -1
View File
@@ -523,7 +523,7 @@ int find_qemu_binary(char **ret_qemu_binary) {
* If the native architecture is not supported by qemu -EOPNOTSUPP will be returned;
*/
FOREACH_STRING(s, "qemu", "qemu-kvm") {
FOREACH_STRING(s, "qemu", "qemu-kvm", "/usr/lib/qemu-kvm") {
r = find_executable(s, ret_qemu_binary);
if (r == 0)
return 0;