ISO is shown as inserted, but the guest system doesn't recognize any CD-ROM/DVD media
Affected version
45.0 - Flathub
Description
When inserting an ISO, Boxes shows in the UI that the ISO was inserted, but Windows (XP) says that no media is inserted:
Screencast_from_2023-11-01_20-46-36
Also, restarting the VM not always fixes the issue. Removing the ISO isn't possible too, sometimes I need to move the ISO in order to eject it (sometimes not even that works, see #1045 (comment 1906185)):
Screencast_from_2023-11-01_20-48-35
Logs
Click to expand
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.589: shared-folders.vala:82: Not creating symlink for shared folder "/home/user/.var/app/org.gnome.Boxes/config/gnome-boxes/b8053cde-373a-409f-841f-8ac8423ffc87/Public": File exists
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.589: shared-folders.vala:82: Not creating symlink for shared folder "/home/user/.var/app/org.gnome.Boxes/config/gnome-boxes/a6be8d7e-4f9c-4676-a3ec-b45efd9413e8/Public": File exists
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.589: shared-folders.vala:82: Not creating symlink for shared folder "/home/user/.var/app/org.gnome.Boxes/config/gnome-boxes/130df6d2-1f45-4c9c-80b1-9d30cb05d28e/Public": File exists
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.870: util-app.vala:470: check_cpu_vt_capability: yes
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.876: util-app.vala:490: check_module_kvm_loaded: yes
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.882: libvirt-machine.vala:222: new libvirt machine: winxp
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.883: machine.vala:105: State of 'Windows XP' changed to BOXES_MACHINE_MACHINE_STATE_STOPPED
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.890: thumbnail.vala:58: Updating thumbnail!
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.891: thumbnail.vala:58: Updating thumbnail!
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.891: vm-configurator.vala:575: No XML node edited' for domain 'winxp'.
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.892: util-app.vala:334: Interface 'virbr0' is either not available or not up.
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.892: vm-configurator.vala:343: Updating domain devices for winxp
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.909: libvirt-machine.vala:222: new libvirt machine: gnomenightly
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.910: machine.vala:105: State of 'GNOME OS Nightly' changed to BOXES_MACHINE_MACHINE_STATE_STOPPED
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.916: thumbnail.vala:58: Updating thumbnail!
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.917: thumbnail.vala:58: Updating thumbnail!
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.917: vm-configurator.vala:575: No XML node edited' for domain 'gnomenightly'.
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.918: util-app.vala:334: Interface 'virbr0' is either not available or not up.
(gnome-boxes:2): Boxes-DEBUG: 21:06:01.918: vm-configurator.vala:343: Updating domain devices for gnomenightly
(gnome-boxes:2): GLib-GObject-CRITICAL **: 21:06:01.933: ../gobject/gsignal.c:2727: handler '3065' of instance '0x563699f31760' is not blocked
(gnome-boxes:2): Boxes-DEBUG: 21:06:03.202: machine.vala:105: State of 'Windows XP' changed to BOXES_MACHINE_MACHINE_STATE_RUNNING
(gnome-boxes:2): Boxes-DEBUG: 21:06:03.203: machine.vala:105: State of 'Windows XP' changed to BOXES_MACHINE_MACHINE_STATE_RUNNING
Ignoring /app/share/osinfo/.ref with missing '.xml' extension
Ignoring /app/share/osinfo/manifest.json with missing '.xml' extension
(gnome-boxes:2): Boxes-DEBUG: 21:06:31.450: libvirt-machine.vala:79: RAM changed to 4194304 KiB
(gnome-boxes:2): Boxes-DEBUG: 21:06:35.314: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
(gnome-boxes:2): Boxes-DEBUG: 21:06:42.362: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
(gnome-boxes:2): Boxes-DEBUG: 21:06:44.223: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
(gnome-boxes:2): Boxes-DEBUG: 21:06:45.692: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
(gnome-boxes:2): Boxes-DEBUG: 21:06:47.546: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
(gnome-boxes:2): Boxes-DEBUG: 21:06:48.964: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
Interesting part:
(gnome-boxes:2): Boxes-DEBUG: 21:06:48.964: cdrom-row.vala:53: Error inserting '/home/user/Downloads/arquivo2.iso' as CD into 'Windows XP': Failed to update device: internal error: unable to execute QEMU command 'blockdev-remove-medium': Tray of device 'ide0-1-0' is not open
Edited by Automeris naranja