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 983438 - There should no "DEVICE_TRAY_MOVED" event for floppy device when do system_powerdown guest var HMP or QMP monitor
Summary: There should no "DEVICE_TRAY_MOVED" event for floppy device when do system_po...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Ademar Reis
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-11 08:41 UTC by Sibiao Luo
Modified: 2013-12-10 17:20 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-10 17:20:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sibiao Luo 2013-07-11 08:41:41 UTC
Description of problem:
Met it by chance when do system_powerdown guest var HMP or QMP monitor, the QMP monitor will output "POWERDOWN" and "SHUTDOWN" event, but there also is output a "DEVICE_TRAY_MOVED" event for floppy device.

Version-Release number of selected component (if applicable):
host info:
3.10.0-1.el7.x86_64
qemu-kvm-1.5.1-2.el7.x86_64
seabios-1.7.2.2-2.el7.x86_64
guest info:
rhel7: 3.10.0-1.el7.x86_64
win8 64bit

How reproducible:
100%

Steps to Reproduce:
1.boot guest with QMP.
e.g:# /usr/libexec/qemu-kvm -S -M q35 -cpu SandyBridge -enable-kvm...-qmp tcp:0:4444,server,nowait
2.connect the QMP monitor.
$ telnet $qmp_server $port
3.do system_powerdown guest var HMP or QMP monitor
(qemu) system_powerdown | { "execute": "system_powerdown"}

Actual results:
after step 3,
{ "execute": "system_powerdown"}
{"return": {}}
{"timestamp": {"seconds": 1373527102, "microseconds": 986543}, "event": "POWERDOWN"}
{"timestamp": {"seconds": 1373527104, "microseconds": 124835}, "event": "SHUTDOWN"}
{"timestamp": {"seconds": 1373527104, "microseconds": 210026}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "floppy0", "tray-open": true}}
Connection closed by foreign host.

Expected results:
There should no "DEVICE_TRAY_MOVED" event for floppy device.

Additional info:
I test it in rhel6 host, like:
{ "execute": "system_powerdown" }
{"return": {}}
{"timestamp": {"seconds": 1373527506, "microseconds": 619133}, "event": "POWERDOWN"}
{"timestamp": {"seconds": 1373527514, "microseconds": 605827}, "event": "RTC_CHANGE", "data": {"offset": -2}}
{"timestamp": {"seconds": 1373527516, "microseconds": 89941}, "event": "SHUTDOWN"}
Connection closed by foreign host.

Comment 1 Luiz Capitulino 2013-07-11 13:31:45 UTC
Pavel is working on this upstream, assigning to him.

Comment 3 Ademar Reis 2013-12-10 17:20:31 UTC
QMP/HMP will not be supported in RHEL7 and this bug is harmless. Closing as WONTFIX.


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