[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix check if guest enabled nested paging.
# HG changeset patch # User Christoph Egger <Christoph.Egger@xxxxxxx> # Date 1340615903 -3600 # Node ID 8c70ad9fd221c4e1549579b63ad20d0f8d4ced83 # Parent 836db8c4b9f9eacd4ccbd0743a862b16b7c2434c Fix check if guest enabled nested paging. Fixes crashes with Windows guests when shadow-on-nested is used. Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> Acked-by: Tim Deegan <tim@xxxxxxx> --- diff -r 836db8c4b9f9 -r 8c70ad9fd221 xen/arch/x86/hvm/svm/nestedsvm.c --- a/xen/arch/x86/hvm/svm/nestedsvm.c Fri Jun 22 17:43:30 2012 +0100 +++ b/xen/arch/x86/hvm/svm/nestedsvm.c Mon Jun 25 10:18:23 2012 +0100 @@ -935,6 +935,9 @@ nsvm_vmcb_guest_intercepts_exitcode(stru return 0; case VMEXIT_NPF: + if (nestedhvm_paging_mode_hap(v)) + break; + return 0; case VMEXIT_INVALID: /* Always intercepted */ break; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |