[vbox-dev] VboxService GetAddsVersion

James Lucas jimmy at secsme.org.au
Sat Jul 11 02:19:07 GMT 2009


The guest property information for the VBoxService version and components is
only implemented for Windows Hosts.

Is there a plan for implementing this for Linux guests? I am willing to
implement some of it if there is any documentation for what is required.

Firstly I can see that the two keys /VirtualBox/GuestAdd/Version and
/VirtualBox/GuestAdd/Revision could be implemented for all VBoxService versions
by putting the information from VBOX_VERSION_STRING and VBoxSVNRev() [Which all
other tools use) instead of the current registry key check for windows only.

In VBoxServiceVMInfo.cpp 

#include <VBox/version.h>

Line 176 add 
VboxServiceWriteProp(g_VMInfoGuestPropSvcClientID, "GuestAdd/Revision",
VBOX_VERSION_STRING);
VboxServiceWriteProp(g_VMInfoGuestPropSvcClientID, "GuestAdd/Version",
VBoxSVNRev());


--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly, and
with authority, states them to be the views the University of Technology,
Sydney. Before opening any attachments, please check them for viruses and
defects.




More information about the vbox-dev mailing list