From: "Jan Beulich" Subject: Re: [PATCH] Paging and memory sharing for HVM guests Date: Thu, 17 Dec 2009 16:59:58 +0000 Message-ID: <4B2A719E020000780002679C@vpn.id2.novell.com> References: <20091217163845.GA26398@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091217163845.GA26398@phenom.dumpdata.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Patrick Colp , xen-devel@lists.xensource.com, Keir Fraser , Grzegorz Milos , Andrew Peace List-Id: xen-devel@lists.xenproject.org >>> Konrad Rzeszutek Wilk 17.12.09 17:38 >>> >1). The "*mfnp |=3D 0x80000000U;" and "*mfnp |=3D 0xf0000000U;" should > use a #define. Maybe copy over the #defines from the xen tree ? Did you find any defines in the tools sources for that? The only place I found this condition being checked at all was in xc_map_foreign_pages(), where it used hard-coded values. Or are you referring to the XEN_DOMCTL_PFINFO_* values? I'd say they're being mis-used when applied to the mfn array used by mmap-batch (including apparent pre-existing uses). Jan