All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Avi Kivity <avi@redhat.com>,
	Anthony Liguori <anthony@codemonkey.ws>,
	seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [PATCHv2] Support for booting from virtio disks
Date: Tue, 11 May 2010 15:33:25 +0300	[thread overview]
Message-ID: <20100511123325.GL2504@redhat.com> (raw)
In-Reply-To: <AANLkTinv0SWoizbiIj4xjyApr2J6NWV1vwjL4i-0NrtC@mail.gmail.com>

On Tue, May 11, 2010 at 10:04:25AM +0100, Stefan Hajnoczi wrote:
> >From what I can tell SeaBIOS is reading CMOS_BIOS_BOOTFLAG1 and
> CMOS_BIOS_BOOTFLAG2 from non-volatile memory.  The values index into
> bev[], which contains IPL entries (the drives).
> 
> Is the order of bev[] entries well-defined?  Is there a way for QEMU
> command-line to know that the first virtio-blk device corresponds to x
> and the IDE CD-ROM corresponds to y?
> 
The order of bev[] is the order in which bootable devices where discovered
and can change from one version of Seabios to another.

--
			Gleb.

WARNING: multiple messages have this Message-ID (diff)
From: Gleb Natapov <gleb@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: kvm@vger.kernel.org, seabios@seabios.org,
	Avi Kivity <avi@redhat.com>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks
Date: Tue, 11 May 2010 15:33:25 +0300	[thread overview]
Message-ID: <20100511123325.GL2504@redhat.com> (raw)
In-Reply-To: <AANLkTinv0SWoizbiIj4xjyApr2J6NWV1vwjL4i-0NrtC@mail.gmail.com>

On Tue, May 11, 2010 at 10:04:25AM +0100, Stefan Hajnoczi wrote:
> >From what I can tell SeaBIOS is reading CMOS_BIOS_BOOTFLAG1 and
> CMOS_BIOS_BOOTFLAG2 from non-volatile memory.  The values index into
> bev[], which contains IPL entries (the drives).
> 
> Is the order of bev[] entries well-defined?  Is there a way for QEMU
> command-line to know that the first virtio-blk device corresponds to x
> and the IDE CD-ROM corresponds to y?
> 
The order of bev[] is the order in which bootable devices where discovered
and can change from one version of Seabios to another.

--
			Gleb.

  reply	other threads:[~2010-05-11 12:33 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10  8:11 [PATCHv2] Support for booting from virtio disks Gleb Natapov
2010-05-10  8:11 ` [Qemu-devel] " Gleb Natapov
2010-05-10  8:25 ` Stefan Hajnoczi
2010-05-10  8:25   ` [Qemu-devel] " Stefan Hajnoczi
2010-05-10  8:29   ` Gleb Natapov
2010-05-10  8:29     ` [Qemu-devel] " Gleb Natapov
2010-05-10 15:48 ` Anthony Liguori
2010-05-10 15:48   ` [Qemu-devel] " Anthony Liguori
2010-05-10 15:54   ` Gleb Natapov
2010-05-10 15:54     ` [Qemu-devel] " Gleb Natapov
2010-05-10 15:58     ` Anthony Liguori
2010-05-10 15:58       ` [Qemu-devel] " Anthony Liguori
2010-05-10 16:09       ` Gleb Natapov
2010-05-10 16:09         ` [Qemu-devel] " Gleb Natapov
2010-05-13 16:49       ` [SeaBIOS] " Avi Kivity
2010-05-13 16:49         ` [Qemu-devel] " Avi Kivity
2010-05-16  8:28         ` Gleb Natapov
2010-05-16  8:28           ` [Qemu-devel] " Gleb Natapov
2010-05-11  8:19   ` Avi Kivity
2010-05-11  8:19     ` [Qemu-devel] " Avi Kivity
2010-05-11  9:04     ` Stefan Hajnoczi
2010-05-11  9:04       ` [Qemu-devel] " Stefan Hajnoczi
2010-05-11 12:33       ` Gleb Natapov [this message]
2010-05-11 12:33         ` Gleb Natapov
2010-05-11 12:45       ` [SeaBIOS] " Kevin O'Connor
2010-05-11 12:45         ` [Qemu-devel] " Kevin O'Connor
2010-05-11 12:47         ` Gleb Natapov
2010-05-11 12:47           ` [Qemu-devel] " Gleb Natapov
2010-05-12  0:44           ` Kevin O'Connor
2010-05-12  0:44             ` [Qemu-devel] " Kevin O'Connor
2010-05-11 12:31     ` Gleb Natapov
2010-05-11 12:31       ` [Qemu-devel] " Gleb Natapov
2010-05-12  7:22       ` Avi Kivity
2010-05-12  7:22         ` [Qemu-devel] " Avi Kivity
2010-05-12  7:55         ` Gleb Natapov
2010-05-12  7:55           ` [Qemu-devel] " Gleb Natapov
2010-05-12 12:57         ` Kevin O'Connor
2010-05-12 12:57           ` [Qemu-devel] " Kevin O'Connor

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=20100511123325.GL2504@redhat.com \
    --to=gleb@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    --cc=stefanha@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.