VirtualBox

Ticket #3415 (closed defect: fixed)

Opened 9 months ago

Last modified 4 months ago

Guest properties not set by guest additions in 2.1.4

Reported by: mjlucas Assigned to:
Priority: major 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

vboxadd-install.log (68.8 kB) - added by mjlucas on 2009-02-22 03:50:50.
VBox.txt (30.7 kB) - added by mjlucas on 2009-02-22 05:32:47.

Change History

2009-02-22 03:50:50 changed by mjlucas

  • attachment vboxadd-install.log added.

2009-02-22 05:32:47 changed by mjlucas

  • attachment VBox.txt added.

2009-02-22 05:37:03 changed by mjlucas

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

(follow-up: ↓ 3 ) 2009-02-23 11:18:45 changed by michael

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 ) 2009-02-23 11:29:57 changed by mjlucas

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)

2009-02-23 14:20:29 changed by michael

  • status changed from new to closed.
  • resolution set to fixed.

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

2009-02-23 14:38:51 changed by michael

  • status changed from closed to reopened.
  • resolution deleted.

Sorry, of course this is not fixed.

2009-08-04 14:16:42 changed by pentagonik

  • status changed from reopened to closed.
  • resolution set to fixed.

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.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy