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:
committed by
Daan De Meyer
parent
51e04b7e90
commit
41da1ae6a0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user