From: Michal Novotny <minovotn@redhat.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] pyGrub: Fix default when out of range
Date: Tue, 29 Jun 2010 16:24:23 +0200 [thread overview]
Message-ID: <4C2A0217.7030404@redhat.com> (raw)
In-Reply-To: <19497.64281.830946.672157@mariner.uk.xensource.com>
On 06/29/2010 03:54 PM, Ian Jackson wrote:
> Michal Novotny writes ("[Xen-devel] [PATCH] pyGrub: Fix default when out of range"):
>
>> this is the patch to fix pyGrub default value when it's being set out of
>> range. This patch makes the quiet and interactive mode select the same
>> default image when the default value for boot entry is out of range,
>> i.e. when the guest is having wrong configuration in it's boot loader
>> (like 3 entries with default mistakenly set to 10 etc).
>>
> I'm not sure this is right. What does grub proper do with invalid
> defaults ? Is it really correct to blunder on and just use the first
> one as a default ?
>
> Sorry to quibble.
>
> Ian.
>
Hi Ian,
I did try it using the real (bare-metal) grub 0.97 (in RHEL-5) to set
the default out of range and it was set to the first entry so it matches
the bare-metal grub behavior now. So the quiet mode was having it right
all the time but interactive mode didn't so this is basically fix for
interactive mode of pygrub.
Michal
--
Michal Novotny<minovotn@redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat
next prev parent reply other threads:[~2010-06-29 14:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-28 17:26 [PATCH] pyGrub: Fix default when out of range Michal Novotny
2010-06-29 13:54 ` Ian Jackson
2010-06-29 14:24 ` Michal Novotny [this message]
2010-06-29 15:23 ` Ian Jackson
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=4C2A0217.7030404@redhat.com \
--to=minovotn@redhat.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.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.