x86, hvm: Allow HAP to be enabled on 32-bit Xen (but still disabled by default).
authorKeir Fraser <keir@xensource.com>
Wed, 31 Oct 2007 09:36:45 +0000 (09:36 +0000)
committerKeir Fraser <keir@xensource.com>
Wed, 31 Oct 2007 09:36:45 +0000 (09:36 +0000)
commit1c68b1c0774364824fcd3e3da87e4e5bdb6d1933
tree56fc3f86f0742a4becaef60812bc6a005bb698dc
parent4b8661da8ee24c30258d3473f399c39cbfb8b0bb
x86, hvm: Allow HAP to be enabled on 32-bit Xen (but still disabled by default).

HAP remains disabled on 32-bit Xen by default because AMD NPT
restrictions mean that guests are restricted to a 4GB pseudophysical
memory map with AMD NPT on 32-bit host.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c