From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Durrant Subject: Re: [PATCH v4 1/3] x86/hvm: give HVMOP_set_param and HVMOP_get_param their own functions Date: Wed, 6 May 2015 12:29:00 +0000 Message-ID: <9AAE0902D5BC7E449B7C8E4E778ABCD0258C27D6@AMSPEX01CL01.citrite.net> References: <1430840854-25252-1-git-send-email-paul.durrant@citrix.com> <1430840854-25252-2-git-send-email-paul.durrant@citrix.com> <554A24CA0200007800077200@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YpyRm-0001bL-8V for xen-devel@lists.xenproject.org; Wed, 06 May 2015 12:29:06 +0000 In-Reply-To: <554A24CA0200007800077200@mail.emea.novell.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: "xen-devel@lists.xenproject.org" , "Keir (Xen.org)" List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Jan Beulich [mailto:JBeulich@suse.com] > Sent: 06 May 2015 13:27 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v4 1/3] x86/hvm: give HVMOP_set_param and > HVMOP_get_param their own functions > > >>> On 05.05.15 at 17:47, wrote: > > The level of switch nesting in those ops is getting unreadable. Giving > > them their own functions does introduce some code duplication in the > > the pre-op checks but the overall result is easier to follow. > > > > This patch is code movement (including style fixes). There is no > > functional change. > > > > Signed-off-by: Paul Durrant > > Cc: Keir Fraser > > Cc: Jan Beulich > > Reviewed-by: Andrew Cooper > > --- > > xen/arch/x86/hvm/hvm.c | 556 +++++++++++++++++++++++++----------- > ------------ > > 1 file changed, 294 insertions(+), 262 deletions(-) > > This doesn't apply to current staging (conflicts with at least > 0a246b41cab40e3409c361c1ef6c1fcfaba5fd1f). > Ok. I'll rebase and resend the series. Paul > Jan