2013-03-16 18:52:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if modinfo cpufreq-xen > /dev/null 2>&1; then
|
|
|
|
modprobe acpi-cpufreq || exit 1
|
|
|
|
modprobe cpufreq-xen
|
|
|
|
|
|
|
|
for f in /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_governor; do
|
|
|
|
echo xen > $f
|
|
|
|
done
|
|
|
|
fi
|
2015-04-10 15:56:58 +00:00
|
|
|
if modinfo xen-acpi-processor &>/dev/null; then
|
|
|
|
modprobe xen-acpi-processor
|
|
|
|
fi
|