==> For a quick try: <== 1] Get the working 'Linux kernel x86 boot executable bzImage'(built with Sasha's config); kvm tool binary ; minimal linux disk image from here: - 'bzImage' and 'kvm' tool binary -- http://kashyapc.fedorapeople.org/native-linux-kvm-tool/working-native-linux-kvm-tool/ - minimal linux disk image -- wget http://wiki.qemu.org/download/linux-0.2.img.bz2 && bunzip2 linux-0.2.img.bz2 2] And run the hypervisor like this to boot into the minimal raw image. --------- # ./kvm run -k ~/tinker/native-linux-kvm/linux-kvm/arch/x86/boot/bzImage -d /export/testimages-nlt/linux-0.2.img --------- sh-2.05b# ls bin boot dev etc lib lost+found mnt proc root sbin tmp usr var sh-2.05b# df -hT Filesystem Type Size Used Avail Use% Mounted on rootfs rootfs 20M 17M 1.7M 92% / /dev/root ext4 20M 17M 1.7M 92% / devtmpfs devtmpfs 150M 0 150M 0% /dev sh-2.05b# pwd / sh-2.05b# mkdir /export sh-2.05b# echo test > /export/foo.txt sh-2.05b# cat /export/foo.txt test sh-2.05b# --------- To quit, type 'exit' NOTE:Kernel configuration used is from Sasha Levin. Thanks a lot to Sasha Levin and Pekka Enberg for helping me debug and answer my questions. ######################################################################################################################## ==> If you want to compile your own kvm tool. and try, then: <== 1/ Install all the pre-reqs. on the host (Fedora-15) + Ensure to have these packages -- gcc, glibc-devel( both archs - x86_64, i686), make. - yum install gcc glibc-devel glibc-devel-2.14-5.i686, make 2/ Clone the repository. (Ensure to have the latest) + git clone git://github.com/penberg/linux-kvm.git (#note this takes a little time, if there isn't already a local tree w/ you) - *Ensure* to have this fix in your tree (kvm tools: Fix wrong kill() PID in commands) - kashyap@kvm$ git log | head | grep -i d70c50362d82a02c3b02e25c9082e5a55d54a97b - https://github.com/penberg/linux-kvm/commit/d70c50362d82a02c3b02e25c9082e5a55d54a97b 3/ Compile the 'kvm' tool: ################################ [root@moon kvm]# pwd /export/native-linux-kvm/linux-kvm/tools/kvm [root@moon kvm]# ################################ [root@moon kvm]# make CC bios/e820.o CC bios/int10.o CC bios/int15.o CC bios/entry.o LD bios/bios.bin.elf OBJCOPY bios/bios.bin NM bios/bios-rom.h CC bios.o CC bios/bios-rom.o LINK kvm [root@moon kvm]# ################################ 4/ Get the .config file( I used Sasha Levin's .config -- which has all the appropriate krnel configuration options.) Located here: http://kashyapc.fedorapeople.org/native-linux-kvm-tool/working-native-linux-kvm-tool/sashal-linux-config ################################ [root@moon linux-kvm]# make -j5 ################################ NOTE: I tried my own, see my notes here for problems I've encountered: http://kashyapc.fedorapeople.org/native-linux-kvm-tool/native-linux-kvm-tools-notes.txt . Penberg, Sasha and others are currently trying to take a look at this. 5/ Now, boot the minimal guest image like ################################ #./kvm run -d linux-0.2.img ################################