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

[Xen-devel] Re: [PATCH 00 of 10] blkfront pvops updates

To: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 00 of 10] blkfront pvops updates
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 30 Apr 2010 11:01:42 -0700
Cc: ksrinivasan <ksrinivasan@xxxxxxxxxx>, Xen <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Fri, 30 Apr 2010 11:02:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1272582346.25447.114.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <patchbomb.1272507577@xxxxxxxxxxxxxxxxxxxxxxx> <4BD9E2EE.5060402@xxxxxxxx> <1272571912.25447.11.camel@xxxxxxxxxxxxxxxxxxxxxxx> <1272574715.25447.34.camel@xxxxxxxxxxxxxxxxxxxxxxx> <4BD9F5DC.4040208@xxxxxxxx> <1272576531.25447.39.camel@xxxxxxxxxxxxxxxxxxxxxxx> <4BD9FBC9.4010100@xxxxxxxx> <1272582346.25447.114.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 04/29/2010 04:05 PM, Daniel Stodden wrote:
> On Thu, 2010-04-29 at 17:36 -0400, Jeremy Fitzhardinge wrote:
>   
>> On 04/29/2010 02:28 PM, Daniel Stodden wrote:
>>     
>>> So I'm probably building the wrong tree by default.
>>>
>>> I used to make linux-2.6-pvops when starting to work.
>>> Which checks out xen/master.
>>>
>>> How does this relate?
>>>   
>>>       
>> xen/master is an alias for xen/stable-2.6.31.x at the moment.  I just
>> submitted a patch to make this switchover explicit, and will move it to
>> 2.6.32 soon.
>>     
> Okay, so xen/master rather defaults to some stable tree.
>
> If xen/frontend is the topic branch, people ideally prepare patches per
> topic, and trunk is rather xen/next, then the thing I still don't follow
> is than xen/frontend hasn't been merged since
>
> * commit 8800a1de3df00fa994f72ad0d7c1eda9b5a0b514
> | Author: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> | Date:   Wed Jul 8 12:27:37 2009 +0200
>
> Why would I want to build a kernel derived from last July's state? Or,
> put differently: Is it okay to merge these topic branches before
> anything else?
>   

My usual workflow is:

   1. Develop some patches on xen/next, until they work
   2. Rebase those patches onto a topic branch
   3. Merge that topic branch onto xen/next

This is necessary because an individual topic branch isn't necessarily
compilable into a working kernel (though they should always compile).

The topic branches are often based on very old kernel versions, and I
avoid rebasing or merging new kernels into them for as long as
possible.  This is so that they will share a common base version with
any other branch I want to merge them into (including mainline Linux),
so that 3-way merging is most likely to work.

It gets awkward if xen/next has other changes which conflict with the
topic branch either because some other piece of necessary infrastructure
is missing, or just plain merge conflicts.  If they're minor then I
resolve them in the merge to xen/next (git rerere is your friend for
remembering these kinds of conflict resolutions).   But if there's some
major subsystem change, then I'll update the topic branch by merging in
an appropriate branch to update the branch (ideally always from the
mainline Linux branch, or from another Xen topic branch).

    J

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