]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't rely on the 'VM-exit instruction length' field in the VMCS to always
authorNeel Natu <neel@FreeBSD.org>
Fri, 22 May 2015 17:34:22 +0000 (17:34 +0000)
committerNeel Natu <neel@FreeBSD.org>
Fri, 22 May 2015 17:34:22 +0000 (17:34 +0000)
commit1c73ea3ef893472fab88132da05d8cf88719a303
tree155b45fee502b21b2abdb34f983c46d3adb155f6
parentfd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6
Don't rely on the 'VM-exit instruction length' field in the VMCS to always
have an accurate length on an EPT violation. This is not needed by the
instruction decoding code because it also has to work with AMD/SVM that
does not provide a valid instruction length on a Nested Page Fault.

In collaboration with: Leon Dang (ldang@nahannisys.com)
Discussed with: grehan
MFC after: 1 week
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/vmm.c