Closed danyhm closed 1 year ago
Hello,
I'm working on the hypervisor to add more functionality to it. I've now added a dynamic buffer to change the result of CPUID instruction in hypervisor mode. now I want to detect which process caused a VM EXIT regardless of the exit reason.
psGetCurrentProcess() doesn't work;
@HoShiMin is this possible via the VMCS structure or do I need to use some kernel or winapi?
Solved! i used PsGetProcessImageFileName() without including the header file , just the function prototype alone!
Hello,
I'm working on the hypervisor to add more functionality to it. I've now added a dynamic buffer to change the result of CPUID instruction in hypervisor mode. now I want to detect which process caused a VM EXIT regardless of the exit reason.
psGetCurrentProcess() doesn't work;