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] Fix the boot of Linux guest while allocated more tha

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix the boot of Linux guest while allocated more than 4G memory
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Fri, 13 Jun 2008 10:46:29 +0800
Delivery-date: Thu, 12 Jun 2008 19:47:03 -0700
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
Thread-index: AcjM/66QpnAlbcm3RjG8djqkzCC/5w==
Thread-topic: [Xen-devel] [PATCH] Fix the boot of Linux guest while allocated more than 4G memory
Fix the boot of Linux guest if allocated more than 4G memory.
  - The p2m table will track the max_mapped_pfn, and while doing
p2m_gfn_to_mfn(), if the gfn is higher than max_mapped_pfn, the function
will return _mfn(INVALID_MFN). This makes the Linux guest kernel panic
with more than 4G memory. However when the gfn is a super page, the
max_mapped_page should be (gfn + (1UL << page_order) - 1) but not gfn.

Best Regards,
-- Dongxiao

Attachment: super_page_4g.patch
Description: super_page_4g.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix the boot of Linux guest while allocated more than 4G memory, Xu, Dongxiao <=