[vbox-dev] about pVM

Ramshankar ramshankar.venkataraman at oracle.com
Fri May 23 04:24:31 UTC 2014

You'll have to be more specific which part of the code you're in, 
assuming you have a PVMCPU pointer, you can use:


Which will get you the correct pVM pointer based on which context you 
are in (R0, R3 or RC).


On 05/22/2014 05:14 PM, Johannes DeWitt wrote:
> Hi, in the source code, everywhere PVM pVM is used to read values of 
> the current VM.
> If i'm in a part of source code without an existent pointer to VM, how 
> can i get it?
> Is there something like: PVM pVM = getCurrentPVM(); ?
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140523/0411bbef/attachment.html 

More information about the vbox-dev mailing list