From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] xen: arm: do not panic when failing to translate a guest address Date: Thu, 24 Jan 2013 13:01:00 +0000 Message-ID: <1359032460.32057.13.camel@zakaz.uk.xensource.com> References: <1358854714-11462-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "Tim (Xen.org)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-01-22 at 12:21 +0000, Stefano Stabellini wrote: > On Tue, 22 Jan 2013, Ian Campbell wrote: > > The gva_to_{par,ipa} functions currently panic if the guest address > > cannot be translated. Often the input comes from the guest so > > panicing the host is a bit harsh! > > > > Change the API of those functions to allow them to return a failure > > and plumb it through where it is used. > > > > Signed-off-by: Ian Campbell > > Acked-by: Stefano Stabellini Applied, thanks.