sinakarvandi / vmcs-auditor Goto Github PK
View Code? Open in Web Editor NEWVMCS Auditor provides almost all of Intel's VMCS Layout checklist based on Bochs Emulator.
VMCS Auditor provides almost all of Intel's VMCS Layout checklist based on Bochs Emulator.
Hi, I have met error code 0x7 after executing vmlaunch, so I tried to use VMCS-Auditor to find out the reason.
I call CheckVMXState before executing VMLaunch, and it prints "VMFAIL: VMCS EXEC CTRL: VMX proc-based controls allowed 1-settings", so I check the value of vm->vmexec_ctrls2 and VMX_CHECKS_USE_MSR_VMX_PROCBASED_CTRLS_HI, which are 0x94006172 and 0x401e172. And the difference value 0x90000000 is what I add, means CPU_BASED_CTL2_ENABLE_VMFUNC and CPU_BASED_CTL2_ENABLE_VIRT_EXCEPTION.
I guess the reason of VMX_CHECKS_USE_MSR_VMX_PROCBASED_CTRLS_HI not equal to vmexec_ctrls2 is the value that I write to msr[VMCS_32BIT_CONTROL_PROCESSOR_BASED_VMEXEC_CONTROLS 0x4002] is not really loaded because of executing CheckVMXState befor VMLaunch.
As well as I think this error is not the real reason causes vmlanuch failed.
Hoping for your answer, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.