Ticket #5825 (closed defect: fixed)
VirtualBox ejects physical dvd device after changing virtual optical drive => Fixed in SVN
Reported by: | RomanU | Owned by: | |
---|---|---|---|
Component: | DVD | Version: | VirtualBox 3.1.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
VirtualBox ejects physical dvd device after I change virtual optical drive from physical host drive to virtual image. I don't expect to see it ejected during that operation. Situation is bad because I have 'Thermaltake Tsunami Dream' computer case, and dvd beats a closed door of case when unexpected ejecting happens.
I can reproduce that on Linux and Windows hosts.
Attachments
Change History
comment:1 Changed 13 years ago by Phyds
By default, the VM virtual CD/DVD drive is setup to use the host CD/DVD drive. The host CD/DVD drive tray ejects when I mount an image on the virtual CD/DVD drive while the VM is running. This is very annoying for those who have a desktop with a door to hide the drives and always keep the door closed. When the tray ejects and the door is closed, I'm afraid that it could damage the tray ejection mechanism. Here's the steps to reproduce the bug:
- Install any Windows as a guest VM.
- After complete installation, shut down the Windows guest VM.
- Remove any disc from the host CD/DVD drive.
- Go in the Windows guest VM Settings, Storage section, and make sure you have an IDE Controller with a virtual CD/DVD device. In the Attributes, make sure this virtual CD/DVD device is linked to the host CD/DVD drive. Click OK to save & exit the Settings.
- Go in File/Virtual Media Manager, CD/DVD Images tab, and add an image, for example VBoxGuestAdditions.iso. Click OK to save & exit the Virtual Media Manager.
- Start the Windows VM and wait until you see the desktop.
- Right-click on the CD icon on the bottom right of the VM window, and select the image you added earlier.
- Now the host CD/DVD drive tray should eject automatically with nothing in it.
comment:2 Changed 13 years ago by Phyds
I confirm that I can reproduce this on both Linux or Windows host, each with either Linux or Windows guest.
comment:3 Changed 13 years ago by samsojo
the same damn thing happens to me too. when will they fix it?? i thought they would have fixed it in 3.2.4 and 3.2.6, but nothing.. what r u waiting for... Christmas?? (duke joke ;) )
Come on, I'm a programmer and I know it's a trivial patch to do. just fix it please!
comment:4 Changed 13 years ago by sandervl73
Well, if you're a programmer and you know it's trivial, then surely you can provide the patch, right? :)
comment:5 Changed 13 years ago by samsojo
sorry, maybe it's not so trivial after all. i would like to take a look but i don't have time these days. anyway, isn't it closed source? I know there's an open source version but is it exactly the same thing?
comment:6 Changed 13 years ago by frank
The only difference between the closed source version and the open source version is that the former has some additional features. But the code for handling the CDROM device is definitely the same. This is the subversion repository.