QEMU
From CBLFS
Revision as of 15:47, 15 September 2008 by Weibullguy (talk | contribs)
Download Source: | http://bellard.org/qemu/qemu-0.9.1.tar.gz |
---|
Contents
Introduction to QEMU
QEMU is a generic and open source machine emulator and virtualizer.
Project Homepage: http://bellard.org/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