public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Booting from Virtio block device
@ 2008-02-28  5:22 Haydn Solomon
  2008-02-28  7:08 ` Tomas Rusnak
  2008-02-28  8:05 ` Dor Laor
  0 siblings, 2 replies; 6+ messages in thread
From: Haydn Solomon @ 2008-02-28  5:22 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 583 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 626 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting from Virtio block device
  2008-02-28  5:22 Booting from Virtio block device Haydn Solomon
@ 2008-02-28  7:08 ` Tomas Rusnak
  2008-02-28  8:05 ` Dor Laor
  1 sibling, 0 replies; 6+ messages in thread
From: Tomas Rusnak @ 2008-02-28  7:08 UTC (permalink / raw)
  To: Haydn Solomon; +Cc: kvm-devel

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/vse0120000070mrt/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	tomas.rusnak@korex.sk
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/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting from Virtio block device
  2008-02-28  5:22 Booting from Virtio block device Haydn Solomon
  2008-02-28  7:08 ` Tomas Rusnak
@ 2008-02-28  8:05 ` Dor Laor
  2008-02-28 12:41   ` Haydn Solomon
  1 sibling, 1 reply; 6+ messages in thread
From: Dor Laor @ 2008-02-28  8:05 UTC (permalink / raw)
  To: Haydn Solomon; +Cc: kvm-devel


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/vse0120000070mrt/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/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting from Virtio block device
  2008-02-28  8:05 ` Dor Laor
@ 2008-02-28 12:41   ` Haydn Solomon
  2008-02-28 13:08     ` Avi Kivity
  0 siblings, 1 reply; 6+ messages in thread
From: Haydn Solomon @ 2008-02-28 12:41 UTC (permalink / raw)
  To: dor.laor; +Cc: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 1499 bytes --]

I  didn't create the initrd with the modules preloaded. Still not working
yet but I'm wondering... will this work with LVM volumes?

On Thu, Feb 28, 2008 at 3:05 AM, Dor Laor <dor.laor@gmail.com> wrote:

>
> 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/vse0120000070mrt/direct/01/
> > _______________________________________________ kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>

[-- Attachment #1.2: Type: text/html, Size: 2201 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting from Virtio block device
  2008-02-28 12:41   ` Haydn Solomon
@ 2008-02-28 13:08     ` Avi Kivity
  2008-02-28 17:42       ` Haydn Solomon
  0 siblings, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2008-02-28 13:08 UTC (permalink / raw)
  To: Haydn Solomon; +Cc: kvm-devel

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/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting from Virtio block device
  2008-02-28 13:08     ` Avi Kivity
@ 2008-02-28 17:42       ` Haydn Solomon
  0 siblings, 0 replies; 6+ messages in thread
From: Haydn Solomon @ 2008-02-28 17:42 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 812 bytes --]

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 <avi@qumranet.com> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1169 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-28 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28  5:22 Booting from Virtio block device Haydn Solomon
2008-02-28  7:08 ` Tomas Rusnak
2008-02-28  8:05 ` Dor Laor
2008-02-28 12:41   ` Haydn Solomon
2008-02-28 13:08     ` Avi Kivity
2008-02-28 17:42       ` Haydn Solomon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox