WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] odd gfn number checking in p2m.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] odd gfn number checking in p2m.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Sun, 19 Sep 2010 17:49:03 +0200
Delivery-date: Sun, 19 Sep 2010 08:50:05 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1284911349; l=303; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=l2iUlB8e9drIjQsjOyvz+pwEFB0=; b=uMSEjN/YsjOr9Sh26YzUYE4oEbM+w2VNZ/Zxc0yQu6fyOVm660Ibhz7yKkre/+xFh+7 zivg8TABogB2GFXbE03qv4bP8TShvAEhfqiTp16qeUKT2nW3ipz6EJ5a569krEuc5fPYE ovfe4fIb0HWcMekhnQc+xBpHiOG6PluZiKI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hello,

how can a gfn become 0x555555 as checked in
p2m.c:guest_physmap_add_entry() and p2m_alloc_table()?
Looking further in p2m.c, audit_p2m() checks only for a 32bit value.

So where is that magic number set, and why is it not a define to
simplify grepping for users of that value?

Olaf


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>