From: Tim Deegan Subject: Re: [PATCH] x86/P2M: pass on errors from p2m_set_entry() Date: Mon, 5 May 2014 16:35:58 +0200 Message-ID: <20140505143558.GA64411@deinos.phlegethon.org> References: <535A59ED020000780000C3FC@nat28.tlf.novell.com> <20140501130235.GB86038@deinos.phlegethon.org> <53638D4C020000780000E655@mail.emea.novell.com> <20140502103225.GB64491@deinos.phlegethon.org> <536778D6020000780000EECE@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WhJzt-0007Jt-E8 for xen-devel@lists.xenproject.org; Mon, 05 May 2014 14:36:01 +0000 Content-Disposition: inline In-Reply-To: <536778D6020000780000EECE@mail.emea.novell.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: Jan Beulich Cc: xen-devel List-Id: xen-devel@lists.xenproject.org At 10:41 +0100 on 05 May (1399282870), Jan Beulich wrote: > >>> On 02.05.14 at 12:32, wrote: > > So yes, we should rename it. How about p2m_change_type_one() > > to contrast with p2m_change_type_range()? > > Fine with me. As to the type change, I think it is better to have the > function have an actual rc, forwarded from p2m_set_entry() or set > to -EBUSY when the type didn't match. Yes, good idea. Tim.