I want to use a ram disk as a block device for my kernel.( i am measuring file io on ram )
I am trying to boot a kernel from using /dev/ram0. However I am getting "No root Device found"
qemu-system-x86_64 -m 8G -hda disk.img -kernel vmlinuz-3.10.0-rc6 -initrd initramfs-3.10.0-rc6.img -append "root=/dev/ram0 selinux=0 enforcing=0 rw" -vnc :0
My rootfs has a /dev/ram0.