public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Jackson <iggy@theiggy.com>
To: "Gerd v. Egidy" <gerd.von.egidy@intra2net.com>
Cc: kvm@vger.kernel.org
Subject: Re: kvm-85: virtio-blk not working
Date: Fri, 24 Apr 2009 09:54:29 -0500	[thread overview]
Message-ID: <200904240954.29509.iggy@theiggy.com> (raw)
In-Reply-To: <200904241635.53966.gerd.von.egidy@intra2net.com>

On Friday 24 April 2009 09:35:52 Gerd v. Egidy wrote:
> Hi Bernhard,
>
> On Friday 24 April 2009 14:56:15 Bernhard Held wrote:
> > > does not boot, BIOS complains "Boot failed: could not read the boot
> > > disk":
> > >
> > > -drive file=/dev/VolGroup00/testpart,if=virtio,index=0 \
> >
> > Please try with:
> > -drive file=/dev/VolGroup00/testpart,if=virtio,index=0,boot=on \
>
> That's it! With boot=on it works.
>
> Thanks for pointing this out.
>
> Was this change intentional? I didn't see it mentioned in the changelog and
> could not even find the "boot"-parameter in the qemu-kvm manpage.


The boot=on parameter has been required since virtio_blk existed (or very 
close to it). There is no official qemu/kvm manpage. That's something some 
distros pulled out of thin air. So bugs with it should be reported to your 
distro.


>
> I usually start kvm via libvirt and libvirt doesn't know anything about
> boot=on, at least not in 0.6.2. I did not have time to try 0.6.3 as it was
> released just yet.


I don't really use libvirt and friends, but I'd imagine that I'd have dealt 
with a lot more issues in the irc channel if it didn't support booting from 
virtio devices in some way. Maybe someone else will speakup and tell you how 
to do it within the confines of libvirt.

--Brian Jackson


>
> Is there some way in a running qemu to find out if a virtio blockdevice is
> activated this way? When running "info block" I always get this result if
> the device has boot=on or not:
>
> virtio0: type=hd removable=0 file=/dev/VolGroup00/testpart ro=0
> drv=host_device encrypted=0
>
> Kind regards,
>
> Gerd
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2009-04-24 14:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23  8:43 kvm-85: virtio-blk not working Gerd v. Egidy
2009-04-23 16:07 ` Andreas Plesner Jacobsen
2009-04-23 16:57   ` Gerd v. Egidy
2009-04-23 17:34     ` Andreas Plesner Jacobsen
2009-04-24 11:58       ` Gerd v. Egidy
2009-04-24 12:56         ` Bernhard Held
2009-04-24 14:35           ` Gerd v. Egidy
2009-04-24 14:54             ` Brian Jackson [this message]
2009-04-24 16:57               ` Anthony Liguori
2009-04-23 16:10 ` Brian Jackson
2009-04-23 16:13   ` Anthony Liguori
2009-04-23 16:24     ` Daniel P. Berrange
2009-04-23 17:47       ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200904240954.29509.iggy@theiggy.com \
    --to=iggy@theiggy.com \
    --cc=gerd.von.egidy@intra2net.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox