QEMU: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
Weibullguy (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http:// | |http://bellard.org/qemu/qemu-{{QEMU-Version}}.tar.gz | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|QEMU is a generic and open source machine emulator and virtualizer.|http:// | {{Package-Introduction|QEMU is a generic and open source machine emulator and virtualizer.|http://bellard.org/qemu}} | ||
== Dependencies == | == Dependencies == | ||
Line 14: | Line 14: | ||
* [[SDL]] | * [[SDL]] | ||
{{Note|Some users have reported that QEMU-{{QEMU-Version}} in system mode segmentation faults on startup for when compiled with | {{Note|Some users have reported that QEMU-{{QEMU-Version}} in system mode segmentation faults on startup for when compiled with [[GCC|GCC-{{GCC-Version}}]]. [[GCC-3.3|GCC-{{GCC-3.3-Version}}]] is reported to work fine. Ensure that you have [[GCC-3.3|GCC-{{GCC-3.3-Version}}]] installed and that you pass the following to configure: | ||
<nowiki> | --cc<nowiki>=</nowiki>/opt/gcc-{{GCC-3.3-Version}}/bin/gcc}} | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 67: | Line 67: | ||
make install | 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 | |||
[[Category:Emulators]] |
Latest revision as of 16:47, 15 September 2008
Download Source: | http://bellard.org/qemu/qemu-0.9.1.tar.gz |
---|
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