VirtualBox

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#3415 closed defect (fixed)

Guest properties not set by guest additions in 2.1.4

Reported by: James Lucas Owned by:
Component: other Version: VirtualBox 2.1.4
Keywords: Cc:
Guest type: other Host type: other

Description

2.1.4 seems to of broken Guest Properties that are set by the Guest Additions. I cannot query them (No properties found.). Guest Additions are installed and running.

Guest properties can bet set and then retrieved from the host.

Host is RHEL5u2 64-bit. Guest is CentOS5u2 32-bit

Attachments (2)

vboxadd-install.log (68.8 KB ) - added by James Lucas 15 years ago.
VBox.txt (30.7 KB ) - added by James Lucas 15 years ago.

Download all attachments as: .zip

Change History (8)

by James Lucas, 15 years ago

Attachment: vboxadd-install.log added

by James Lucas, 15 years ago

Attachment: VBox.txt added

comment:1 by James Lucas, 15 years ago

The ability to set/get guest properties seems to be working on both guest and host side (can set in guest and see in host and vice-versa) however it is the guest properties that are set on startup (vboxmod.c:1288 onwards) like GuestAdditions version and installed OS Type

comment:2 by Michael Thayer, 15 years ago

Just to prevent any misunderstandings - the vboxadd module does not set any guest properties of the sort which can be queried using VBoxManage guestproperty on startup. The code as of vboxmod.c:1288 sets various flags which can be queried by the lower-level (XP)COM interface, and these are normally queried by the frontend, like the Qt GUI. Is this what you meant?

in reply to:  2 comment:3 by James Lucas, 15 years ago

Ok, the part about vboxmod was just from me reading to code to see what changed between 2.1.2 and 2.1.4. I guest I misunderstood what it was doing.

Essentially what I am trying to say is that while guest properties set through VBoxManage (Host) & VBoxControl (Guest) seem to work. But all those extra properties set by the guest additions (as documented pg 64 of the manual) like:

Name: /VirtualBox/GuestInfo/OS/Product, value: Windows Vista Business Edition, timestamp: 1229098278843087000, flags: 
Name: /VirtualBox/GuestInfo/OS/Release, value: 6.0.6001, timestamp: 1229098278950553000, flags: 
Name: /VirtualBox/GuestInfo/OS/ServicePack, value: 1, timestamp: 1229098279122627000, flags: 
Name: /VirtualBox/GuestAdd/InstallDir, value: C:/Program Files/Sun/xVM VirtualBox Guest Additions, timestamp: 1229098279269739000, flags: 
Name: /VirtualBox/GuestAdd/Revision, value: 40720, timestamp: 1229098279345664000, flags: 
Name: /VirtualBox/GuestAdd/Version, value: 2.1.4, timestamp: 1229098279479515000, flags: 

are not there when calling enumerate or get (host or guest)

comment:4 by Michael Thayer, 15 years ago

Resolution: fixed
Status: newclosed

Indeed, only Windows guests set those so far. I have updated the user manual to reflect this.

comment:5 by Michael Thayer, 15 years ago

Resolution: fixed
Status: closedreopened

Sorry, of course this is not fixed.

comment:6 by pentagonik, 15 years ago

Resolution: fixed
Status: reopenedclosed

Reporting

Name: /VirtualBox/GuestAdd/Revision
Name: /VirtualBox/GuestAdd/Version

will be fixed in the next upcoming 3.0.x version. Reporting the installation directory on non-Windows platforms is currently not supported.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use