[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] nEPT: fix INVEPT instruction parameter
# HG changeset patch # User Dongxiao Xu <dongxiao.xu@xxxxxxxxx> # Date 1359976095 -3600 # Node ID de6160ccaf9db30b186153ff6b89652ff86ee476 # Parent 90525fcb0982f2bc370e3ab1f38f5b1119e40fcc nEPT: fix INVEPT instruction parameter While emulating the INVEPT instruction in L0 VMM, the EPT pointer should be fetched from the instruction decoding result, but not the current loaded EPT pointer. Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx> Acked-by: Eddie Dong <eddie.dong@xxxxxxxxx> Committed-by: Jan Beulich <jbeulich@xxxxxxxx> --- diff -r 90525fcb0982 -r de6160ccaf9d xen/arch/x86/hvm/vmx/vvmx.c --- a/xen/arch/x86/hvm/vmx/vvmx.c Mon Feb 04 12:07:34 2013 +0100 +++ b/xen/arch/x86/hvm/vmx/vvmx.c Mon Feb 04 12:08:15 2013 +0100 @@ -1705,7 +1705,7 @@ int nvmx_handle_invept(struct cpu_user_r { case INVEPT_SINGLE_CONTEXT: { - struct p2m_domain *p2m = vcpu_nestedhvm(current).nv_p2m; + struct p2m_domain *p2m = p2m_get_nestedp2m(current, eptp); if ( p2m ) { p2m_flush(current, p2m); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |