aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/hvm.c
diff options
context:
space:
mode:
authorChristoph Egger <Christoph.Egger@amd.com>2012-07-19 11:15:58 +0100
committerChristoph Egger <Christoph.Egger@amd.com>2012-07-19 11:15:58 +0100
commit9796e9bf1ae37ba3a55a56e2548ed969e1097996 (patch)
treee37ff7b31ab10b8d15bc5e325f9c2c0f3bd84e43 /xen/arch/x86/hvm/hvm.c
parentf114c47cceebbf8546c7dd1303433f062c82d31b (diff)
downloadxen-9796e9bf1ae37ba3a55a56e2548ed969e1097996.tar.gz
xen-9796e9bf1ae37ba3a55a56e2548ed969e1097996.tar.bz2
xen-9796e9bf1ae37ba3a55a56e2548ed969e1097996.zip
nestedhvm: initialize pfec for l1 pagetable walk
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/hvm.c')
-rw-r--r--xen/arch/x86/hvm/hvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index 7e6b5bbbb5..22c136b9d9 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -1278,7 +1278,8 @@ int hvm_hap_nested_page_fault(unsigned long gpa,
* into l1 guest if not fixable. The algorithm is
* the same as for shadow paging.
*/
- rv = nestedhvm_hap_nested_page_fault(v, gpa);
+ rv = nestedhvm_hap_nested_page_fault(v, gpa,
+ access_r, access_w, access_x);
switch (rv) {
case NESTEDHVM_PAGEFAULT_DONE:
return 1;