WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] HVMAssist BIOS boot device problem

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] HVMAssist BIOS boot device problem
From: "Stephen Quintero" <stephen@xxxxxxxxx>
Date: Tue, 8 Jul 2008 06:52:52 -0700
Cc: Apoorva Kulkarni <Apoorva@xxxxxxxxxx>, Minh Quach <minh@xxxxxxxxx>, Eric Tessler <eric@xxxxxxxxx>
Delivery-date: Tue, 08 Jul 2008 06:53:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjgkPq4IBHYUej3Qbexw0AJ9g921gASbSpNAAmLqKA=
Thread-topic: [Xen-devel] HVMAssist BIOS boot device problem
Keir,

Thank you for your reply.

I agree it should be deterministic, according to the enumeration of the
devices (hda-hdd), but, alas, it is not.

See example B in my original post where hda|hdb|hdc all contain active
partitions but the guest boots from hdc.

See also example A in my post where hda is always a bootable image but
sometimes the guest boots from hdb (you may not easily recreate this
scenario yourself, but example B is simple to reproduce).

Stephen


-----Original Message-----
From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
Sent: Tuesday, July 08, 2008 2:12 AM
To: Stephen Quintero; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Apoorva Kulkarni; Minh Quach; Eric Tessler
Subject: Re: [Xen-devel] HVMAssist BIOS boot device problem

On 8/7/08 01:24, "Stephen Quintero" <stephen@xxxxxxxxx> wrote:

> Is there any method to cause an HVM guest to reliably boot from hda?
> 
> Any insight would be appreciated.

Reading the BIOS code, my understanding is that 'boot from hard disk'
means
to boot from the first connected hard drive enumerated in the following
order: primary master, primary slave, secondary master, secondary slave
(i.e., hda-hdd). I confirmed this with a few simple tests -- attach a
bootable image to hdd boots fine, but if I connect a non-bootable image
on
any of hha-hdc then the system fails to boot. This is all entirely
deterministic. Selection of boot device should not be random, nor change
across reboots.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel