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] ioemu: fix drive name parsing

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu: fix drive name parsing
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Wed, 4 Nov 2009 17:12:07 +0000
Delivery-date: Wed, 04 Nov 2009 09:12:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AF132C5.9090709@xxxxxxxxx>
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: <4AF132C5.9090709@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Yang, Xiaowei writes ("[Xen-devel] [PATCH] ioemu: fix drive name parsing"):
> In xenstore_parse_domain_config(), 'any_hdN' is overridden by local version 
> accidentally.

Thanks for spotting this.  You're right that it's a bug.  I've applied
your patch (although really I think this whole area is pretty grotty
and could do with substantial rework).

Two comments though about the formatting of your patch:

 * It didn't apply cleanly because it had different whitespace to
   that in the actual code.  Your mailer must have done something to
   it I think.  Best practice seems to be (if you can't make your
   mailer reliably not mangle the body of the message) to provide each
   patch _both_ as an attachment (for application) _and_ by including
   it in the body (for readable review).

 * You forgot the Signed-off-By line, by which you would certify that
   the code copyright and so forth status was appropriate (according
   to the Developer's Certificate of Origin).  I applied your patch
   anyway because it's a one-line change (which most authorities think
   makes it too small for copyright to apply) but you should make sure
   to appropriately certify your code in future.

Thanks,
Ian.

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

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