Re: [kvm-devel] Booting from Virtio block device
On Thu, 2008-02-28 at 00:22 -0500, Haydn Solomon wrote: First of all, thank you for all the great work on this project. I am trying to boot a linux guest from virtio block device. I followed the howto on the wiki but guest is not able to locate root device. Only thing I am doing differently from the wiki is using the virtio_* modules rather than recompiling kernel. My test environment is as follows I haven't test it but just to make sure, do you load virtio modules in initrd? If their not part of the kernel you must do it before mounting the root device. guest: Fedora 9 with latest 2.6.25 kernel KVM ver 62 Host: (Fedora 8) Linux localhost.localdomain 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Any guidance will be appreciated. Thanks. Haydn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] Booting from Virtio block device
Hello You must add root=/dev/vdaX, where X is number of your boot partition, to kernel boot parameters. In lilo.conf you must add this to append line. Have a nice day Haydn Solomon napsal(a): First of all, thank you for all the great work on this project. I am trying to boot a linux guest from virtio block device. I followed the howto on the wiki but guest is not able to locate root device. Only thing I am doing differently from the wiki is using the virtio_* modules rather than recompiling kernel. My test environment is as follows guest: Fedora 9 with latest 2.6.25 kernel KVM ver 62 Host: (Fedora 8) Linux localhost.localdomain 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Any guidance will be appreciated. Thanks. Haydn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel -- Tomas Rusnak, Korex Networks Korex s.r.o. Pernikarska 8 010 01 Zilina Slovak Republic tel +421 41 562 5648 email [EMAIL PROTECTED] web www.korex.sk - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] Booting from Virtio block device
Haydn Solomon wrote: I didn't create the initrd with the modules preloaded. Still not working yet but I'm wondering... will this work with LVM volumes? It's actually easier since you don't have to change your root= line. -- error compiling committee.c: too many arguments to function - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
Re: [kvm-devel] Booting from Virtio block device
Ok, got it to work. Like the docs said, I needed to be careful with ramdisk; I didn't install enough modules in the ramdisk first time around. The Fedora9 vm is booting up much faster on virtio but haven't done any official timings. Network seems to be performing faster too when downloading big files but again, no official timings. Question: As far as balloon driver, does it give any advantage at the moment? Thanks Haydn On Thu, Feb 28, 2008 at 8:08 AM, Avi Kivity [EMAIL PROTECTED] wrote: Haydn Solomon wrote: I didn't create the initrd with the modules preloaded. Still not working yet but I'm wondering... will this work with LVM volumes? It's actually easier since you don't have to change your root= line. -- error compiling committee.c: too many arguments to function - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel
[kvm-devel] Booting from Virtio block device
First of all, thank you for all the great work on this project. I am trying to boot a linux guest from virtio block device. I followed the howto on the wiki but guest is not able to locate root device. Only thing I am doing differently from the wiki is using the virtio_* modules rather than recompiling kernel. My test environment is as follows guest: Fedora 9 with latest 2.6.25 kernel KVM ver 62 Host: (Fedora 8) Linux localhost.localdomain 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Any guidance will be appreciated. Thanks. Haydn - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel