[vbox-dev] How to get the current running IMachine instance inside a host service?
Armindo Silva
deathon2legs at gmail.com
Fri May 8 13:27:14 GMT 2009
On linux hosts:
$ ps aux | grep -i virtual
mndo 18797 0.0 0.0 5600 1808 ? S 13:02 0:00
/usr/lib/virtualbox/VBoxXPCOMIPCD
mndo 19614 0.0 0.0 3336 884 pts/5 S+ 14:24 0:00 grep -i virtual
mndo 21477 0.0 0.2 13828 4256 ? Sl 13:03 0:01
/usr/lib/virtualbox/VBoxSVC --automate
mndo 21485 20.2 24.4 631264 503028 ? Sl 13:03 16:26
/usr/lib/virtualbox/VirtualBox --comment WinXP --startvm
849a196c-2b64-4235-97ea-1a6722c79d96
The last line have the name and the uuid.
Don't have a windows host :|
Hope this helps.
Cheers
Armindo
On Thu, May 7, 2009 at 6:21 PM, Huihong Luo <huisinro at yahoo.com> wrote:
> I am developping a shared service between host and guest. On host service
> dll, I need to get some info about the current running vm. What is the
> correct way of doing this? I couldn't figure out how to get the vm name or
> vm uuid.
>
> Thanks,
>
> Huihong
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
>
--
--
"The only way of discovering the limits of the possible is to venture
a little way past them into the impossible."
Sir Arthur C. Clarke
More information about the vbox-dev
mailing list