From: Keir Fraser Subject: Re: [RFO] Action when bad address passed in hypercall by guest Date: Thu, 19 Mar 2009 17:07:34 +0000 Message-ID: References: <41ebb5cf-0e6e-49e0-9246-79f3491e49b4@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41ebb5cf-0e6e-49e0-9246-79f3491e49b4@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 19/03/2009 17:01, "Dan Magenheimer" wrote: > hat is the appropriate action if the gfn is "bad" (specifically > fails the p2m_ram_rw test from gfn_to_mfn)? > > A) Ignore it (but return an error from the hypercall) > B) __domain_crash() as the guest is surely broken or malicious Probably return an error to the caller. -- Keir