[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxc foreign address translation bug


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.