New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to add/remove CD-ROM device and load/eject ISO #13454
Comments
@Az3RuS thanks for opening this feature request, it's definitely a valid feature, once I find some time I will implement it. |
I'd totally love to see that feature too ;) |
sorry for bothering, is there any implementation now? |
Not yet unfortunately. |
Just a small nitpick - when I was trying this feature on F33, both cache and bus was set to "default" but when I hit Add, it fails with error that "bus is undefined". Once I set ti to "sata" or "scsi" it works fine. |
While attaching a cdrom drive is now possible, one can not eject/change the virtual cdrom. Please add this capability. |
You can actually remove a CD from a VM. It was implemented quite some time ago. It's in the "Disks" section of an individual VM's details page. It looks like this: Click on the "Remove" button that corresponds to the ISO. I tried today and was successful when doing so. However, I did have to shut down the VM before removing the ISO. (I think you can also just make sure it's unmounted inside of the VM, but this was on a VM in the installation phase, so the ISO was actively in use.) When the disk was in use, I did get this confusing error message, however: I think this error message is directly from libvirt, which is why it's so strange. We should rephrase the error to make it more straightforward. It could say something like the disc cannot be ejected as it is in use. |
@garrett removing the virtual drive is not the same thing as ejecting the virtual cdrom. Removing the virtual drive means detaching the ide/sata virtual device, a thing Ejecting the virtual cdrom means removing (or changing) the virtual ISO "inserted" in the virtual drive, a thing which can be done on a running domain (the equivalent of
|
Hello !
Have you thought about adding an option to add CD-ROM devices but also to eject and load ISOs into them?
Like qemu-guest-agent command :
Insert :
virsh change-media $VMName --path sda --source $ISO --insert --live
Eject :
virsh change-media $VMName --path sda --eject --live
PS : When you use its controls you can already see on the cockpit the disc being added or ejected.
The text was updated successfully, but these errors were encountered: