Ticket #5077 (closed defect: fixed)
VirtualBox 3.0.6 sees invalid cd/dvd data after an eject / load on Solaris => Fixed in SVN
|Reported by:||rmf||Owned by:|
VirtualBox gets incorrect data from a CD. Running an xp VM on a Solaris snv_123 host. To duplicate, load a DVD and look in the VM. Now eject the DVD from the VM. Then load a different DVD and notice how the Volume name didn't change.
Looking through the source, it seems there are 2 issues. The first is that the Solaris drvHostBaseOpen uses different calls (relies on RTFileOpen) than the linux drvHostBaseOpen (which is based on open(2) ). Secondly (and more importantly), drvHostBaseReopen doesn't close the previous descriptors before opening the new one. This might cause some oddities (just a guess) since the open instance count never goes down to zero.
- Summary changed from VirtualBox 3.0.6 sees invalid cd/dvd data after an eject / load on Solaris to VirtualBox 3.0.6 sees invalid cd/dvd data after an eject / load on Solaris => Fixed in SVN