Qemu notes

Homepage at qemu.org. Some parts outdated (Mar 2009).

Git tree at http://git.savannah.gnu.org/cgit/qemu.git.

QEMU on Wikipedia.

Building

$ git clone http://git.savannah.gnu.org/cgit/qemu.git
$ cd qemu
$ ./configure --target-list=arm-softmmu,x86_64-softmmu,i386-softmmu,arm-softmmu,armeb-softmmu,arm-linux-user,armeb-linux-user,i386-linux-user,x86_64-linux-user
$ make -j -l3

Tips

Viewing generated code

You can check to generated host code and compare it to the guest code
via -d in_asm,out_asm (or via the monitor: log in_asm,out_asm), logs
will be written /tmp/qemu.log by default. The ratio of direct (chained)
jumps is given via "info jit".

Versatile 256MB RAM limit

The Versatile ARM board has a limit of 256MB of RAM. Specifying more will cause QEMU to segfault.

There are some patches available that remove this limitation.