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] Guest boot loader support

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Guest boot loader support
From: aq <aquynh@xxxxxxxxx>
Date: Wed, 27 Apr 2005 04:58:03 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 26 Apr 2005 19:57:55 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rOvC+NITgFlGrFz4tEFtNma15MFeeYqKEtcNQQAQPNrWZaCdO20pqIslyEmyOfFLuBuMYToON5ztqZ8RJbZ52SZzL7X0hyY2xEd4Idu9xdzan3DLHXrJmkDKWJz5iqmY0QdzuG8SYSfIykwBY1Y1HC3L6tbq9+Fv2S1O5Z+b14g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1114534871.18436.7.camel@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1114469427.4336.42.camel@xxxxxxxxxxxxxx> <9cde8bff050426023247aa475b@xxxxxxxxxxxxxx> <1114534871.18436.7.camel@xxxxxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 4/27/05, Jeremy Katz <katzj@xxxxxxxxxx> wrote:
> On Tue, 2005-04-26 at 18:32 +0900, aq wrote:
> > Jeremy, I tried it out with the latest xen-unstable got from the
> > homepage and patch with xen-booloader.patch. There are few "hunk".
> > What xen-unstable version are you using?
> 
> Bah, bitkeeper foils me again.  Rediffed to current -unstable attached.
> Thanks for catching that.
> 
> > By the way, did you forget __init__.py in pygrub/src/ ? pygrub is a
> > python package, and looks like we need it. At the moment compilation
> > spit out an error "... __init__.py not found...".
> 
> It was there at one point... added it as well for this diff.
> 
> As for your other comment, the r quoting of the strings is to make sure
> that the strings are interpreted as raw strings instead of trying to
> handle escaping which helps in cases where you have "odd" things in your
> grub.conf.
> 
> Jeremy
> 

I checked the new patch. src/__init__.py is not in yet?

$ diffstat xen-bootloader-2.patch 
 Makefile                          |    1 
 pygrub/Makefile                   |   18 ++
 pygrub/setup.py                   |   25 ++
 pygrub/src/GrubConf.py            |  229 ++++++++++++++++++++++++++
 pygrub/src/fsys/__init__.py       |   61 ++++++
 pygrub/src/fsys/ext2/__init__.py  |   38 ++++
 pygrub/src/fsys/ext2/ext2module.c |  332 ++++++++++++++++++++++++++++++++++++++
 pygrub/src/fsys/ext2/test.py      |   15 +
 pygrub/src/pygrub                 |  270 ++++++++++++++++++++++++++++++
 python/xen/xend/XendBootloader.py |   95 ++++++++++
 python/xen/xend/XendDomainInfo.py |   42 ++++
 python/xen/xend/server/blkif.py   |    9 +
 python/xen/xm/create.py           |   34 +++
 13 files changed, 1165 insertions(+), 4 deletions(-)

when i use diff to produce the patch, if the src/__init__.py is empty,
diff would ignore that file, too. so the trick is to create
__init__.py with a space inside ;-)

regards,
aq

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