If you are playing around with qemu, sometimes it is useful to have a kernel and initrd easily available to play with. Cirros provides kernel and initramfs that can be used for this purpose.
This init
script here provides a initramfs /init
that will do nothing
but write the kernel command line and then power the system off. You can
adjust it to your needs.
The get-krd
script will: