qemu/kvm.modules

17 lines
290 B
Plaintext
Raw Normal View History

2009-03-04 00:11:57 +00:00
#!/bin/sh
case $(uname -m) in
ppc64)
grep OPAL /proc/cpuinfo >/dev/null 2>&1 && opal=1
if [ "$opal" ]; then
2012-10-19 08:15:31 +00:00
modprobe -b kvm >/dev/null 2>&1 && kvm=1
fi
;;
2012-10-19 08:15:31 +00:00
s390x)
modprobe -b kvm >/dev/null 2>&1 && kvm=1
;;
esac
exit 0