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.
Description of problem:
start guest with -drive file=/dev/sr0,media=media ,then click "eject" in the guest ,disk can not be ejected and it prompts "input/output error in the guest
Version-Release number of selected component (if applicable):
# uname -r&&rpm -q qemu-kvm
2.6.32-171.el6.x86_64
qemu-kvm-0.12.1.2-2.175.el6.x86_64
guest:win08R2
How reproducible:
100%
Steps to Reproduce:
1.intert ubuntu 10.10 AMD 64 bit media in host cdrom
2.start guest with -drive file=/dev/sr0
eg:usr/libexec/qemu-kvm -m 4G -smp 4 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -boot menu=on -drive file=/home/ide-win08R2.raw.test,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none,format=raw -device virtio-blk-pci,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup,downscript=no,vhost=on -device virtio-net-pci,netdev=hostnet0,mac=76:0E:40:3F:2F:3F -boot dc -uuid dd5aee77-d635-41d4-92a0-4e59c3b5cb6c -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -name win2k8-storage -vnc :10 -drive file=/dev/sr0,if=none,id=drive-ide0-0-2,werror=stop,rerror=stop,cache=none,format=raw,media=cdrom,readonly=on -device ide-drive,drive=drive-ide0-0-2,id=ide0-0-2,bus=ide.0,unit=1
3.in the guest ,right click E:\(which was the cdrom ) ,then click "eject"
Actual results:
(qemu) CDROMEJECT: Input/output error
media can not be ejected
Expected results:
media should be ejected successfully.
Additional info:
Comment 1Markus Armbruster
2011-08-09 09:11:24 UTC
Output of monitor command "info block" before and after the failed eject, please.