#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

if [ -e /sys/devices/system/cpu/cpu0/cpufreq ]; then
	for CPU in /sys/devices/system/cpu/cpu[0-9]*; do
		echo "performance" > $CPU/cpufreq/scaling_governor
	done
fi

for vm in `virsh list --all --name | grep va-vct`; do virsh start $vm; done
