I want to boot xv6
(unix based os) on Qemu
.I compile It from source code and also install qemu but when I type make qemu
in terminal I get the following errors:
/usr/bin/qemu-system-i386 -serial mon:stdio -hdb fs.img xv6.img -smp 2 -m 512
Could not access KVM kernel module: No such file or directory
failed to initialize KVM: No such file or directory
Back to tcg accelerator.
but qemu runs (with flicks) and write : no bootable device
I am also read this discussion in SO but doesn't solve my problem.
Note:first qemu can't find QEMU executable and according to this link I solve my problem by changing the #QEMU=
with QEMU = /usr/bin/qemu-system-i386
then I have this problem.
EDIT:I finally find the solution.my XV6 source code has a problem(that I don't know what?) then I download it from MIT OS course with this commands:
git clone git://pdos.csail.mit.edu/xv6/xv6.git
cd xv6/
make
qemu-system-i386 -serial mon:stdio -hdb fs.img xv6.img -smp 1 -m 512