ionescu007 / SimpleVisor

SimpleVisor is a simple, portable, Intel VT-x hypervisor with two specific goals: using the least amount of assembly code (10 lines), and having the smallest amount of VMX-related code to support dynamic hyperjacking and unhyperjacking (that is, virtualizing the host state from within the host). It works on Windows and UEFI.
http://ionescu007.github.io/SimpleVisor/
1.72k stars 256 forks source link

Remove read from MSR_IA32_VMX_VMFUNC #6

Closed jtsylve closed 8 years ago

jtsylve commented 8 years ago

By adjusting MsrData we can prevent a read from MSR_IA32_VMX_VMFUNC, which wasn't available before Haswell processors and is not referenced in this project anyway.

Fixes #5

ionescu007 commented 8 years ago

Hi,

Unfortunately commit 47d5519 which is part of this pull request reformats the entire codebase, so it is extremely hard to see what the actual code changes are (on top of the fact that I don't agree with the reformatting...).

Is it possible for you to undo these formatting changes as part of this PR, please?

jtsylve commented 8 years ago

Hmm. This PR was only supposed to be commit 77aec80. I didn't realize it would automatically add the following commits. The formatting changes in the others are auto formatted by Visual Studio 2015, that really should have been a separate commit.