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] Fix pygrub --isconfig

To: John Haxby <john.haxby@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix pygrub --isconfig
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 20 Jan 2011 16:40:06 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 20 Jan 2011 08:42:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D385A40.9090908@xxxxxxxxxx>
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>
Newsgroups: chiark.mail.xen.devel
References: <4D385A40.9090908@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
John Haxby writes ("[Xen-devel] [PATCH] Fix pygrub --isconfig"):
> Recentlly, when trying to get to the bottom of some strange booting
> problem, I discovered that
> 
>     pyrgub --isconfig <image file>
> 
> usefully reports the kernel, initrd (ramdisk) and arguments that would
> be used to boot a kernel.  Well, actually, what it reported was an
> error.  This patch makes it work (and jolly useful it is too).  The
> patch also removes a spurious "print >>sys.stderr" that seems to have
> been left in from some previous debugging.

Thanks, but this patch doesn't apply to xen-unstable.hg.  xen-unstable
has a loop "for offset in part_offs" surrounding the code you seem to
be trying to patch.

Is it important to check for "isconfig" before running sniff_solaris
and sniff_netware ?

Ian.

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

<Prev in Thread] Current Thread [Next in Thread>