[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [SeaBIOS] [PATCHv2] Support for booting from virtio dis
From: |
Kevin O'Connor |
Subject: |
[Qemu-devel] Re: [SeaBIOS] [PATCHv2] Support for booting from virtio disks |
Date: |
Tue, 11 May 2010 08:45:29 -0400 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
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?
SeaBIOS arranges for bev[0] = floppy, bev[1] = hd, bev[2] = cdrom, and
bev[3] to be the first network card - it does this so that the boot
order can be read from qemu. However, it's a pain to force this
order.
-Kevin
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, (continued)
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, Avi Kivity, 2010/05/11
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, Gleb Natapov, 2010/05/11
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, Avi Kivity, 2010/05/12
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, Gleb Natapov, 2010/05/12
- [Qemu-devel] Re: [PATCHv2] Support for booting from virtio disks, Kevin O'Connor, 2010/05/12