qemu/kvm.modules
Paolo Bonzini d8d9ba50c6 Drop loading of vhost-net module (bz #963198)
It is loaded via udev these days.
2013-05-16 11:58:11 +02:00

17 lines
290 B
Bash
Executable File

#!/bin/sh
case $(uname -m) in
ppc64)
grep OPAL /proc/cpuinfo >/dev/null 2>&1 && opal=1
if [ "$opal" ]; then
modprobe -b kvm >/dev/null 2>&1 && kvm=1
fi
;;
s390x)
modprobe -b kvm >/dev/null 2>&1 && kvm=1
;;
esac
exit 0