Bug 1393042 - system_reset should clear pending request for error (IDE)
Summary: system_reset should clear pending request for error (IDE)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.2
Hardware: x86_64
OS: Windows
high
medium
Target Milestone: rc
: ---
Assignee: John Snow
QA Contact: Yiqian Wei
URL:
Whiteboard:
Depends On: 1299875
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-08 17:48 UTC by Marcel Kolaja
Modified: 2017-07-11 06:38 UTC (History)
16 users (show)

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.
Clone Of: 1299875
Environment:
Last Closed: 2017-01-17 18:08:27 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0071 0 normal SHIPPED_LIVE qemu-kvm bug fix update 2017-01-17 22:50:09 UTC

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


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