Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I doubt that's a real bug. What happens when you spawn this through virt manager? IMHO the regular IDE drive and the cdrom IDE conflicts.
Please retest and I'll close the bug for the moment. Please reopen it if virt manager fails as well.
Comment 3Markus Armbruster
2011-03-31 12:13:52 UTC
QEMU can provide three default drives:
* CD-ROM, IDE or SCSI depending on machine type, IDE for PC-like machines
* Floppy
* SD card
Whether the drives are actually used by a guest device depends on the machine type. For instance, PC-like machines don't use the SD card default drive.
The machine type can suppress any of them. PC-like machines don't. Arguably, they should suppress the drives they don't use.
Some configuration options suppress default drives:
* -nodefaults suppresses all of them
* -device isa-fdc suppresses floppy
* -device ide-drive suppresses CD-ROM
Note: [device] sections in configuration files read with -readconfig work exactly like -device.
The recipe in comment#0 has -device ide-drive, which suppresses the CD-ROM.
With the recipe changed as per additional info (virtio-blk-pci instead of ide-drive), there's no CD-ROM suppressor left, so we get one.
Works as designed :)
(In reply to comment #2)
> I doubt that's a real bug. What happens when you spawn this through virt
> manager? IMHO the regular IDE drive and the cdrom IDE conflicts.
> Please retest and I'll close the bug for the moment. Please reopen it if virt
> manager fails as well.
Finding this while testing a case against bug 581789, in its reproduction, there is default cdrom device when use ide-drive, however the version of qemu-kvm is a little old.
With Virt manager, i cannot see cdrom in the guest both with virtio-blk-device or ide-drive, and also when query-block through QMP, i believe this is caused by virt manager adding -nodefaults parameter, qemu-kvm won't add default cdrom and 2 floppy device to guest with this parameter, as far as i know, there is no way to delete it.