]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vmspawn: Fix qemu-kvm path on centos stream
authorDaan De Meyer <daan@amutable.com>
Sun, 5 Apr 2026 16:37:31 +0000 (18:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 5 Apr 2026 16:51:17 +0000 (18:51 +0200)
Follow up for 41da1ae6a042363e856b1748c11cd176ef1991c8

src/vmspawn/vmspawn-util.c

index ca4ddc70c7f2e988361f22eb64fe2c16eb9819de..6e8a25baf539119344f8989dfff3ec1c9c4334f2 100644 (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;