b190fee134
Since qemu-kvm tree is syncronized with 4.1.0 now, it's easier to handle this as 4.1.0 and not as rc4 - Resolves: bz#1740692
19 lines
376 B
Bash
19 lines
376 B
Bash
#!/bin/sh
|
|
|
|
case $(uname -m) in
|
|
ppc64)
|
|
grep OPAL /proc/cpuinfo >/dev/null 2>&1 && opal=1
|
|
|
|
modprobe -b kvm >/dev/null 2>&1
|
|
modprobe -b kvm-pr >/dev/null 2>&1 && kvm=1
|
|
if [ "$opal" ]; then
|
|
modprobe -b kvm-hv >/dev/null 2>&1
|
|
fi
|
|
;;
|
|
s390x)
|
|
modprobe -b kvm >/dev/null 2>&1 && kvm=1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|