projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b25d80
)
Fix check if guest enabled nested paging.
author
Christoph Egger
<Christoph.Egger@amd.com>
Mon, 25 Jun 2012 09:18:23 +0000
(10:18 +0100)
committer
Christoph Egger
<Christoph.Egger@amd.com>
Mon, 25 Jun 2012 09:18:23 +0000
(10:18 +0100)
Fixes crashes with Windows guests when shadow-on-nested is used.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/svm/nestedsvm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/svm/nestedsvm.c
b/xen/arch/x86/hvm/svm/nestedsvm.c
index 6ed32604cfc403d9167dd02329c41ec670280a51..0b6ff8867231a39679744a3d09855ed20e1632e3 100644
(file)
--- a/
xen/arch/x86/hvm/svm/nestedsvm.c
+++ b/
xen/arch/x86/hvm/svm/nestedsvm.c
@@
-935,6
+935,9
@@
nsvm_vmcb_guest_intercepts_exitcode(struct vcpu *v,
return 0;
case VMEXIT_NPF:
+ if (nestedhvm_paging_mode_hap(v))
+ break;
+ return 0;
case VMEXIT_INVALID:
/* Always intercepted */
break;