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] [PATCH] libxc foreign address translation bug

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] libxc foreign address translation bug
From: "Bryan D. Payne" <bryan@xxxxxxxxxxxx>
Date: Thu, 1 May 2008 20:03:01 -0400
Delivery-date: Thu, 01 May 2008 17:03:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=rw9lz2CtbSKlB/IHsIuHw74M+McUXuGCP1fj4WMl5i4=; b=YYKrDCnHt2g0lTvjrDH/50cjdSfz9/1d9KsQLiSfPa6Cy/AECbnHaXuSI6kX/Psts3i4Gc2Ps8iGdRfH9NGrcZMrkcjSFV4mJwNQj+1hw4aWqzbYAg7XMlscHL+Pk7YZKJQIsJDVElKSCsZohGmg5oLlCfhqMBI8kTveOZDKI9Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=VCWMQiWbozVQPhE+fdPnnO6pkJA4tUwdLBq5K7HStdQKUt6mgu0dFGTFFBplc4vAcHR2RJQgrA+P80lwRkiuxKdyQwewqycr80FsEYDL/PWGU2X89FzHboYZMjWO7EQ+rUUPgb446hjWorDJLxMZitt/ioVdyJ+NrRwY+Dgf7Q0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
In the xc_translate_foreign_address function from libxc, there is a
check on the page directory entry to see if the page is 4K or 4M.
However, the check is looking at bit 3, when it should be looking at
bit 7.  This patch fixes the problem.

Signed-off-by: Bryan D. Payne <bryan@xxxxxxxxxxxx>

Attachment: bdpayne-pagesize.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] libxc foreign address translation bug, Bryan D. Payne <=