From: Ian Campbell Subject: Re: [PATCH] add new bootloader xenpvnetboot for pv guest Date: Fri, 24 Feb 2012 11:04:28 +0000 Message-ID: <1330081468.8557.176.camel@zakaz.uk.xensource.com> References: <6770476b814532bb36a3.1329919602@zhigang.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6770476b814532bb36a3.1329919602@zhigang.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Zhigang Wang Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2012-02-22 at 14:06 +0000, Zhigang Wang wrote: > tools/misc/Makefile | 2 +- > tools/misc/xenpvnetboot | 293 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 294 insertions(+), 1 deletions(-) > > > # HG changeset patch > # User Zhigang Wang > # Date 1329919344 18000 > # Node ID 6770476b814532bb36a3b00cba16e5cd8a6b4585 > # Parent ca80eca9cfa39d1b60d1216948dac5711d550b83 > add new bootloader xenpvnetboot for pv guest > > `xenpvnetboot` supports getting boot images from following locations: I think this is a really nice idea -- it's been floating around the bottom of my TODO list for ages now. Would it be possible to add a man page by adding docs/man/xenpvnetboot.1.pod using the Perl POD syntax (there's a bunch of existing docs you could take inspiration from) and perhaps to update docs/man/xl.cfg.5.pod to reference this new bootloader (you might need to add a list of possible options, since pyrub was previously the only thing) Since you have, I guess, reverse engineered the PV bootloader protocol from pygrub in order to implement this I wonder if you would consider writing up a specification for the required interface or such bootloaders? e.g. docs/misc/pvbootloader.markdown. By happy coincidence there is a Xen documentation day on Monday ;-) http://lists.xen.org/archives/html/xen-devel/2012-02/msg01468.html and http://wiki.xen.org/wiki/Xen_Document_Days http://blog.xen.org/index.php/2012/02/24/next-xen-document-day-feb-27/ Do you have any further plans for this bootloader? e.g. I think it would be really cool if it could present a curses based wizard, e.g. * Select your distro * Provide a URL * Tweak command line options * Go! Ian.