The qemu dracut module check function already calls is_qemu_virtualized
to determine the enviroment dracut is called in.
Checking if the qemu dracut module is included already transitively calls
is_qemu_virtualized.
return 0
fi
- is_qemu_virtualized && return 0
-
if [[ $hostonly ]] || [[ $mount_needs ]]; then
return 255
fi
return 255
}
- is_qemu_virtualized && return 0
-
return 255
}
fi
[[ $hostonly ]] || [[ $mount_needs ]] && {
- is_qemu_virtualized && return 0
-
for fs in "${host_fs_types[@]}"; do
[[ $fs == "virtiofs" ]] && return 0
done