[vbox-dev] about pVM
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:
PVM pVM = pVCpu->CTX_SUFF(pVM);
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev