#!/bin/sh # # /etc/rc.d/rc.qemu # Load the QEMU Accelerator module /sbin/modprobe kqemu major=0 # Qemu will complain if we don't set the rtc /sbin/modprobe rtc echo 1024 > /proc/sys/dev/rtc/max-user-freq # All users need to have read/write permissions to /dev/kqemu chmod 666 /dev/kqemu