nsvm: fix check if guest enabled nested paging
PATCH 1/1 nsvm: fix check if guest enabled nested paging
Fix check if guest enabled nested paging.
Fixes crashes with Windows guests when shadow-on-nested is used.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
xen/arch/x86/hvm/svm/nestedsvm.c +3 -0
@@ -935,6 +935,9 @@ nsvm_vmcb_guest_intercepts_exitcode(strureturn 0 ;case VMEXIT_NPF : +if (nestedhvm_paging_mode_hap (v)) +break ; +return 0 ;case VMEXIT_INVALID :/* Always intercepted */ break ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Tim Deegan
AppliedQuoted 5 lines · Christoph Egger
Fix check if guest enabled nested paging.
Fixes crashes with Windows guests when shadow-on-nested is used.Signed-off-by Christoph Egger <[email protected]>
Applied, thanks.
Tim.