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.

Bug 1393042

Summary: system_reset should clear pending request for error (IDE)
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: qemu-kvmAssignee: John Snow <jsnow>
Status: CLOSED ERRATA QA Contact: Yiqian Wei <yiwei>
Severity: medium Docs Contact:
Priority: high    
Version: 7.2CC: ailan, areis, armbru, chayang, huding, jsnow, juzhang, knoel, michen, mkenneth, mnavrati, qzhang, rbalakri, virt-bugs, virt-maint, zhguo
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-126.el7_3.1 Doc Type: Bug Fix
Doc Text:
Previously, using the qemu-kvm system_reset utility when no space was left on on the host caused the qemu-kvm service to terminate with a segmentation fault. The underlying source code has been modified to fix this bug. As a result, the qemu-kvm process stays active, and guest systems can be reset without an error.
Story Points: ---
Clone Of: 1299875 Environment:
Last Closed: 2017-01-17 18:08:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1299875    
Bug Blocks:    

Description Marcel Kolaja 2016-11-08 17:48:12 UTC
This bug has been copied from bug #1299875 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 3 Miroslav Rezanina 2016-11-11 17:43:31 UTC
Fix included in qemu-kvm-1.5.3-126.el7_3.1

Comment 5 FuXiangChun 2016-11-15 02:36:29 UTC
reproduced this bug with qemu-kvm-1.5.3-105.el7_2.7.x86_64.

# qemu-img create -f qcow2 test.qcow2 8G
Formatting 'test.qcow2', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off
 
# ulimit -f 256

#/usr/libexec/qemu-kvm -m 2048 -smp 2 \
    \
    -drive file=test.qcow2,werror=stop,rerror=stop,cache=writeback,id=hd0,if=none \
    -device ide-drive,drive=hd0 \
    \
    -drive id=cd0,readonly,media=cdrom,cache=writeback,if=none,file=RHEL-7.3-20161019.0-Server-x86_64-dvd1.iso \
    -device ide-cd,drive=cd0 \
    -monitor stdio \
    -vnc :1

(qemu) system_reset 

result:

(qemu) cli: line 9: 25351 Segmentation fault      (core dumped) /usr/libexec/qemu-kvm -m 2048 -smp 2 -drive file=test.qcow2,werror=stop,rerror=stop,cache=writeback,id=hd0,if=none -device ide-drive,drive=hd0 -drive id=cd0,readonly,media=cdrom,cache=writeback,if=none,file=RHEL-7.3-20161019.0-Server-x86_64-dvd1.iso -device ide-cd,drive=cd0 -monitor stdio -vnc :1


Verified this bug with qemu-kvm-1.5.3-126.el7_3.1.x86_64.

qemu-kvm process works well. 

So, This bug is fixed.

Comment 8 errata-xmlrpc 2017-01-17 18:08:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0071.html