diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-05 10:57:21 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-05 10:57:21 +0000 |
commit | bd1cd81d648447eafd80f5e49cc568e35b5985dd (patch) | |
tree | 1894b08dc086bd55736c7964d3b044152394b913 /xen/include/asm-x86/x86_64 | |
parent | 5c111d24bd778c1e118b3902b15bf56190dd3b87 (diff) | |
download | xen-bd1cd81d648447eafd80f5e49cc568e35b5985dd.tar.gz xen-bd1cd81d648447eafd80f5e49cc568e35b5985dd.tar.bz2 xen-bd1cd81d648447eafd80f5e49cc568e35b5985dd.zip |
x86: PV support for hugepages
Hugepage support must be enabled via the hypervisor command line
option "allowhugepage". There is currently no support in the tools for
saving/restoring/migrating guests who use hugepages.
Signed-off-by: Dave McCracken <dave.mccracken@oracle.com>
Diffstat (limited to 'xen/include/asm-x86/x86_64')
-rw-r--r-- | xen/include/asm-x86/x86_64/page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/x86_64/page.h b/xen/include/asm-x86/x86_64/page.h index 948cd656f0..ac44a9a1c1 100644 --- a/xen/include/asm-x86/x86_64/page.h +++ b/xen/include/asm-x86/x86_64/page.h @@ -115,7 +115,7 @@ typedef l4_pgentry_t root_pgentry_t; #define BASE_DISALLOW_MASK (0xFF800198U & ~_PAGE_NX) #define L1_DISALLOW_MASK (BASE_DISALLOW_MASK | _PAGE_GNTTAB) -#define L2_DISALLOW_MASK (BASE_DISALLOW_MASK) +#define L2_DISALLOW_MASK (BASE_DISALLOW_MASK & ~_PAGE_PSE) #define L3_DISALLOW_MASK (BASE_DISALLOW_MASK) #define L4_DISALLOW_MASK (BASE_DISALLOW_MASK) |