From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Why does xc_map_foreign_range() refuse to map pfns below 1M from a domU Date: Tue, 03 Dec 2013 20:59:20 +0200 Message-ID: <529E2A08.7070105@gmail.com> References: <1386085913.13256.52.camel@kazak.uk.xensource.com> <1386086974.13256.60.camel@kazak.uk.xensource.com> <529E16B0.5010104@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <529E16B0.5010104@citrix.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: Tomasz Wroblewski Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > We've ran into this issue in xenclient recently too, when we finally > upgraded stubdomain's kernel to pvops version. It seems pvops kernel > contains safeguard to only allow <1M mappings if it's dom0 > (xen_initial_domain()). This check is placed in arch/x86/xen/mmu.c: Thanks Tomasz! That's a great lead.