Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 237931 Details for
Bug 316371
32-bit PAE HV hardware limitation > 4GB memory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch that overcomes the 4GB guest PAE limitation
PAE_HV_4GB_limitaion_fix.patch (text/plain), 1.27 KB, created by
Bhavna Sarathy
on 2007-10-25 19:52:00 UTC
(
hide
)
Description:
patch that overcomes the 4GB guest PAE limitation
Filename:
MIME Type:
Creator:
Bhavna Sarathy
Created:
2007-10-25 19:52:00 UTC
Size:
1.27 KB
patch
obsolete
>diff -r f6281485daa9 xen/arch/x86/hvm/svm/svm.c >--- a/xen/arch/x86/hvm/svm/svm.c Fri Apr 06 04:58:02 2007 -0500 >+++ b/xen/arch/x86/hvm/svm/svm.c Mon Apr 09 11:35:41 2007 -0500 >@@ -2349,6 +2349,25 @@ void svm_handle_invlpg(const short invlp > } > > >+#if CONFIG_PAGING_LEVELS == 3 >+/* Nested paging does not support PAE guests with more than 4GB memory. >We >+ * solve this problem by removing guest e820entry in memory map. >+ */ >+static void npt_fix_e820_entry(void) >+{ >+ struct e820entry *e820entry; >+ unsigned char * e820_page; >+ unsigned char nr_map; >+ >+ e820_page = >+ map_domain_page(get_mfn_from_gpfn(E820_MAP_PAGE >> >PAGE_SHIFT)); >+ e820entry = (struct e820entry *)(e820_page + E820_MAP_OFFSET); >+ nr_map = *((unsigned char *)(e820_page + E820_MAP_NR_OFFSET)); >+ if ( e820entry[nr_map-1].addr > 0xF0000000UL ) { >+ *((unsigned char *)(e820_page + E820_MAP_NR_OFFSET)) = (nr_map >- 1); >+ } >+} >+#endif > /* > * Reset to realmode causes execution to start at 0xF000:0xFFF0 in > * 16-bit realmode. Basically, this mimics a processor reset. >@@ -2439,6 +2458,11 @@ static int svm_do_vmmcall_reset_to_realm > > vmcb->rax = 0; > vmcb->rsp = 0; >+ >+#if CONFIG_PAGING_LEVELS == 3 >+ if ( opt_hap_enabled ) >+ npt_fix_e820_entry(); >+#endif > > return 0; > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 316371
:
237931
|
239131
|
278811