VirtualBox

Opened 8 years ago

Last modified 8 years ago

#15915 new defect

Image removed by snapshot restore still shown as attached in media manager

Reported by: chrfranke Owned by:
Component: other Version: VirtualBox 5.1.4
Keywords: Cc:
Guest type: all Host type: Windows

Description

Longstanding bug:

Steps to reproduce:

  • select a VM with an empty virtual optical drive,
  • create a snapshot of this VM,
  • attach some new ISO image to the optical drive,
  • restore the snapshot (do not create one for current state),
  • check "Attached to" status of ISO image in virtual media manager.

Observed: ISO image is still reported as "Attached to: Name_of_VM". As a consequence, "Remove" button is disabled.

Expected: ISO image should be reported as "Not Attached".

Workaround: Re-add ISO image, and then remove it manually before restoring the snapshot.

Attachments (1)

Test.vbox (5.9 KB ) - added by chrfranke 8 years ago.
.vbox file from 3rd step (snapshot taken, iso image attached)

Download all attachments as: .zip

Change History (3)

comment:1 by Klaus Espenlaub, 8 years ago

Please attach an affected .vbox config. We can't reproduce so there must be some config specific misbehavior.

by chrfranke, 8 years ago

Attachment: Test.vbox added

.vbox file from 3rd step (snapshot taken, iso image attached)

comment:2 by chrfranke, 8 years ago

Results from further investigation:

  • The workaround is more easy if no other VMs are running: Close VBox UI and wait until VBoxSVC.exe exits. After restarting VBox UI virtual media manager reports "Not Attached". So I guess some sync is missing between VM settings and the table used by virtual media manager.
  • A snapshot restore does not always set the optical drive back to "Empty" state. This is apparently at least the case if the very first snapshot is restored.
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use