On Fri, Aug 19, 2011 at 10:58 AM, Zhi Yong Wu <zwu.ker...@gmail.com> wrote: > I have met one scenario; currently i want to set up a VM based on > latest kernel tree; but i only have latest kernel source code and > compiled it on one fedora 15 workstation. To achieve the objective, > what actions should i take next step? use -kernel -initrd options? > other ways?
You can build a kernel with all drivers (e.g. virtio-net, virtio-blk) compiled in and then boot using -kernel and -append. I find that simplest. Stefan