vmspawn: Fix qemu-kvm path on centos stream

Follow up for 41da1ae6a0
This commit is contained in:
Daan De Meyer
2026-04-05 18:51:17 +02:00
committed by Daan De Meyer
parent 39eb7fd259
commit ba937b45be
+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", "/usr/lib/qemu-kvm") {
FOREACH_STRING(s, "qemu", "qemu-kvm", "/usr/libexec/qemu-kvm") {
r = find_executable(s, ret_qemu_binary);
if (r == 0)
return 0;