I ran following commands. $sudo qemu-system-x86_64 -kernel arch/x86_64/boot/bzImage -nographic -append "console=ttys0 nokaslr" -initrd ramdisk.img -m 512 --enable-kvm