Page 1 of 1

VirtEx

Posted: 27 Apr 2015 15:18
by TETYYS
OS virtualization extensions for Process Hacker. Currently only VMWare is supported.

Attached source code + x86/x64 binaries, but plugin is also available in github:
https://github.com/TETYYS/ph-virtex

Re: VirtEx

Posted: 27 Apr 2015 17:37
by TETYYS
Added VirtualBox, +more headers from original PH source because of limited plugin system

Re: VirtEx

Posted: 28 Apr 2015 17:22
by MagicAndre1981
What is the plugin doing? What does it show? Can you please post a picture?

Re: VirtEx

Posted: 29 Apr 2015 11:23
by TETYYS
Oh yes of course. Now, it displays current VM associated with process and its RAM usage.
Image
Image
Image

Re: VirtEx

Posted: 29 Apr 2015 17:00
by MagicAndre1981
nice. I'll test it.

Re: VirtEx

Posted: 29 May 2015 04:50
by MagicAndre1981
the PLugin is broken since the API Rework in Rev 5965 (new memory Tab), here the _PH_MEMORY_PROVIDER is gone.

Also I don't find the plugin useful. It only shows the working set, but not the real memory usage that the Windows uses in the VM.

Re: VirtEx

Posted: 29 May 2015 06:19
by TETYYS
I plan on using VMWare VIX and VirtualBox APIs, but I have problems with linking in x86 VIX build

Re: VirtEx

Posted: 29 May 2015 06:47
by phuser
Your plugin should show more info then it might be of any use.

Re: VirtEx

Posted: 29 May 2015 07:12
by wj32
MagicAndre1981 wrote:
the PLugin is broken since the API Rework in Rev 5965 (new memory Tab), here the _PH_MEMORY_PROVIDER is gone.

Also I don't find the plugin useful. It only shows the working set, but not the real memory usage that the Windows uses in the VM.
Yeah sorry, but it was a necessary change :P It'd be better if the plugin used NtQueryVirtualMemory directly rather than trying to use the memory provider stuff which wasn't meant to be exported in the first place (my mistake).

Re: VirtEx

Posted: 30 May 2015 09:36
by wj32
TETYYS wrote:
I plan on using VMWare VIX and VirtualBox APIs, but I have problems with linking in x86 VIX build
For VMware, you can enumerate mapped files and look for the ".vmem" extension. I'm not sure if that gives you the actual memory usage though.

Re: VirtEx

Posted: 30 May 2015 10:20
by TETYYS
wj32 wrote:
TETYYS wrote:
I plan on using VMWare VIX and VirtualBox APIs, but I have problems with linking in x86 VIX build
For VMware, you can enumerate mapped files and look for the ".vmem" extension. I'm not sure if that gives you the actual memory usage though.
No no, not that, I'm planning to expand this to stopping/restarting VMs, listing processes inside VM.

Re: VirtEx

Posted: 28 Jun 2015 15:52
by wj32
Sorry for the inconvenience, but I've made changes to the object manager and you'll need to update this plugin for the next version of PH. Otherwise PH will crash.

(This could have been avoided if you didn't copy a bunch of internal code from PH.)

Re: VirtEx

Posted: 28 Jun 2015 20:44
by TETYYS
Ok, not sure if I will develop this because of limitations

Re: VirtEx

Posted: 15 Jul 2015 00:33
by ens4dz
thanks for this great plugin
i can't start PH after the update v 2.36 !