Difference between revisions of "Qemu"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
 
(added instructions for compiling with kqemu)
Line 7: Line 7:
 
*Creating the disk image: qemu-img create win98hd.img 2G qemu -hda
 
*Creating the disk image: qemu-img create win98hd.img 2G qemu -hda
 
win98hd.img -cdrom win98.iso -boot d
 
win98hd.img -cdrom win98.iso -boot d
For debian-derived host systems, if you want to use the kernel
+
For linux host systems, there is a loadable kernel module (called
make-qemu-go-fast module, you'll need to download the source from the
+
kqemu) that will allow qemu to run at near native speeds. At the time
website and compile it locally because cause there aren't packages for
+
of this writing, there aren't distributed packages available with the
it in [[apt]].
+
module built, so you'll need to download the source from the website
 +
and compile it locally.
 +
First download the
 +
[http://fabrice.bellard.free.fr/qemu/qemu-0.7.0.tar.gz qemu source] and
 +
[[untar]] it. Then download the
 +
[http://fabrice.bellard.free.fr/qemu/kqemu-0.6.2-1.tar.gz kqemu source]
 +
and [[untar]] it within the qemu source directory. Then run ./configure
 +
&& make && sudo make install. You might also want to
 +
install the vgabios package from your package manager.
 
If you're wanting to run Win98 under qemu, this option is moot because
 
If you're wanting to run Win98 under qemu, this option is moot because
make-qemu-go-fast and Win98 don't get along.
+
kqemu and Win98 don't get along.

Revision as of 19:12, 12 June 2005

Techniques: Software: Emulators: Qemu QEMU is an open source processor emulator. It emulates a variety of different [http://qemu.org/status.html CPUs and systems], and achieves good speed by using dynamic translation.

Some Quick Notes

  • Creating the disk image: qemu-img create win98hd.img 2G qemu -hda

win98hd.img -cdrom win98.iso -boot d For linux host systems, there is a loadable kernel module (called kqemu) that will allow qemu to run at near native speeds. At the time of this writing, there aren't distributed packages available with the module built, so you'll need to download the source from the website and compile it locally. First download the qemu source and untar it. Then download the kqemu source and untar it within the qemu source directory. Then run ./configure && make && sudo make install. You might also want to install the vgabios package from your package manager. If you're wanting to run Win98 under qemu, this option is moot because kqemu and Win98 don't get along.