Raspberry PI emulation on Linux

How to emulate a Raspberry PI on Linux using QEMU

A great tutorial:


Another good tutorial:


But the kernel image is missing because the link that provides it is dead. The solution is here:

http://raspberrypi.stackexchange.com/questions/32171/emulating-raspbian-with-qemu/32306#32306 (Local file)

Then run the command:

qemu-system-arm -kernel kernel-qemu -cpu arm1176 -M versatilepb -smp 1 -m 256M -append "root=/dev/sda2 console=ttyAMA0" -hda 2015-05-05-raspbian-wheezy.img -clock dynticks -serial stdio -display none