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>, "Tim Deegan" <Tim.Deegan@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] rombios: pause for a keypress after a failedboot
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 7 Jul 2010 16:29:47 +1000
Cc:
Delivery-date: Tue, 06 Jul 2010 23:30:27 -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
Thread-index: AcsdE8WgV7isuNqsSTi7Q8hETWVhSQAYZ04QAAn/UrAAAAhiAA==
Thread-topic: [Xen-devel] [PATCH] rombios: pause for a keypress after a failedboot
> 
> On 07/07/2010 02:43, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> >> rombios: inform the user and pause for a keypress after a failed
boot
> >> rather than powering off immediately.
> >>
> >
> > 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 would certainly be much easier in terms of programming effort, and
fulfils most of my concerns.

What criteria does xend use to determine if a domain is in a reboot
loop? Is it just a single restart within some number of seconds, or is
it a certain number of reboots in a certain number of seconds?

Thanks

James

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