Difference between revisions of "QEMU"
From CBLFS
Jump to navigationJump to searchLine 79: | Line 79: | ||
echo "dev.rtc.max-user-freq = 1024" >> /etc/sysctl.conf | echo "dev.rtc.max-user-freq = 1024" >> /etc/sysctl.conf | ||
+ | |||
+ | [[Category:Emulators]] |
Revision as of 17:54, 5 July 2008
Download Source: | http://www.qemu.com/qemu-0.9.1.tar.gz |
---|
Contents
Introduction to QEMU
QEMU is a generic and open source machine emulator and virtualizer.
Project Homepage: http://fabrice.bellard.free.fr/qemu/
Dependencies
Required
Non-Multilib
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
USE_ARCH=32 ./configure --prefix=/usr \ --cc="gcc ${BUILD32}" && make
Install the package
make install
N32
Compile the package:
USE_ARCH=n32 ./configure --prefix=/usr \ --cc="gcc ${BUILDN32}" && make
Install the package
make install
64Bit
Compile the package:
USE_ARCH=64 ./configure --prefix=/usr \ --cc="gcc ${BUILD64}" && make
Install the package
make install
Configuring QEMU
When starting QEMU you may recieve the following error:
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal error, but for better emulation accuracy either use a 2.6 host Linux kernel or type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
The easiest way to fix this to run the command it suggests, then run the following to add an entry into sysctl.conf so that this happens at every boot:
echo "dev.rtc.max-user-freq = 1024" >> /etc/sysctl.conf