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] [PATCH] rombios: pause for a keypress after a failedboot

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] rombios: pause for a keypress after a failedboot
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Wed, 7 Jul 2010 10:49:07 +0100
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 07 Jul 2010 02:50:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C859DCB7.19966%keir.fraser@xxxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D01A0A4C2@trantor> <C859DCB7.19966%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
At 07:26 +0100 on 07 Jul (1278487607), Keir Fraser wrote:
> > That's a great idea for many situations, but not for all. If the DomU
> > fails to boot (eg because the drbd backing store is offline or
> > something) it would be nice to have the domain exit so that monitoring
> > can kick in and alert someone, rather than it just sitting there in a
> > running state waiting for user input that might never come.
> > 
> > I know it's probably a heap more work, but could the behaviour be driven
> > by a config file setting? Otherwise this new behaviour is going to be a
> > regression.
> 
> Simply pausign for a few seconds might be nice. Gives enough time for a user
> to see what is going on, but doesn't leave an unattended VM hanging around
> forever?

That's easy enough.  The attached patch makes it wait 30 seconds before
shutting down instead.  (It applies on top of my original patch).

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, XenServer Engineering
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

Attachment: bios-delay
Description: Text document

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