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.
Bug 1027696 - the tray-open value for floppy disk has no any changes when eject and change it in HMP
Summary: the tray-open value for floppy disk has no any changes when eject and change ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1028264
TreeView+ depends on / blocked
 
Reported: 2013-11-07 10:03 UTC by Sibiao Luo
Modified: 2014-06-12 13:38 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1028264 (view as bug list)
Environment:
Last Closed: 2014-06-12 13:38:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sibiao Luo 2013-11-07 10:03:50 UTC
Description of problem:
the tray-open value for floppy disk has no any changes when eject and change it in HMP. But the QMP has DEVICE_TRAY_MOVED event with tray-open.
Please refer to bug 953070 - QMP: DEVICE_TRAY_MOVED with tray-open=true is emitted twice on floppy change

Version-Release number of selected component (if applicable):
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-429.el6.x86_64
qemu-kvm-0.12.1.2-2.370.el6.x86_64
guest info:
2.6.32-429.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot guest with a floppy.
e.g:...-drive file=/home/floppy1.qcow2,if=none,id=drive-fdc0-0-0,readonly=on,format=qcow2 -global isa-fdc.driveA=drive-fdc0-0-0
(qemu) info block
drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=/home/floppy1.qcow2 ro=1 drv=qcow2 encrypted=0
...
2.eject the floppy.
(qemu) eject drive-fdc0-0-0
(qemu) info block
...
drive-fdc0-0-0: removable=1 locked=0 tray-open=0 [not inserted]
3.change the floppy.
(qemu) change drive-fdc0-0-0 /home/floppy1.qcow2
(qemu) info block
...
drive-fdc0-0-0: removable=1 locked=0 tray-open=0 file=/home/floppy1.qcow2 ro=0 drv=qcow2 encrypted=0

Actual results:
the tray-open value for floppy disk has no any changes when eject and change it in HMP.

Expected results:
after step 2, the tray-open=1.

Additional info:

Comment 1 Sibiao Luo 2013-11-08 03:17:58 UTC
The latest qemu-kvm-0.12.1.2-2.415.el6.x86_64 also hit it.
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-429.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6.x86_64

Best Regards,
sluo

Comment 2 RHEL Program Management 2013-11-11 03:35:07 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Ademar Reis 2014-06-12 13:38:47 UTC
corner case of HMP+floppy, closing as WONTFIX for now.


Note You need to log in before you can comment on or make changes to this bug.