Raspberry PI emulation on Linux

How to emulate a Raspberry PI on Linux using QEMU

A great tutorial:

http://raspberrypi.stackexchange.com/questions/165/emulation-on-a-linux-pc/286#286

Another good tutorial:

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=37386

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