To get QEMU running, take the following steps:
- Download the Debian minimal boot CD-ROM
- Download the qemu archive and the kqemu archive from http://fabrice.bellard.free.fr/
- Unpack the qemu archive, cd into the directory
- Unpack the kqemu archive
- To install in /opt, type: ./configure --prefix=/opt/qemu --interp-prefix=/opt/qemu/interp
- To compile: make
- To install: make install (as root)
- Manually install the kernel module: cp kqemu/kqemu.ko /opt/qemu/bin
- Add the following three lines to /etc/rc.d/rc.local:
mknod /dev/kqemu c 250 0
chmod 666 /dev/kqemu
insmod /opt/qemu/bin/kqemu.ko
- Create a disk image:
qemu-img create -f qcow deb.img 4G
- Boot from the CD and install Debian:
qemu -user-net -boot d -cdrom sarge-i386-netinst.iso deb.img
- When installation is done, close the window and start again:
qemu -user-net deb.img
See also here:
Benchmark results
I ran the BYTEmark benchmark on a Windows 2000 Professional guest inside QEMU on a Linux host. I tested the Linux host with nbench.
Native Linux nbench results |
Numeric sort | 846.24 |
String sort | 120.44 |
Bitfield | 329,050,000 |
FP Emulation | 79.248 |
|
Windows 2000 Pro guest in QEMU 0.7.0 |
Numeric sort | 637.920796 |
String sort | 73.396653 |
Bitfield | 192,019,081.405118 |
FP Emulation | 79.248 |