Open Hulkstance opened 4 years ago
Maybe you can try to modify these places to support win10, my system version is win10 1909
add
+ vmCpuCtl2Requested.Fields.EnableINVPCID = TRUE;
add
+ if (data->Fields.Register == 4)
+ {
+ INT64 RSP = 0;
+ __vmx_vmread(GUEST_RSP, &RSP);
+ *regPtr = RSP;
+ }
change
- __vmx_vmwrite( GUEST_CR3, *regPtr );
+ __vmx_vmwrite( GUEST_CR3, ( *regPtr & ~(1ULL << 63) ) );
Refer to this Blog
I tested it on Windows 10 2004 release and it BSODd with: