Bug 1566586

Summary: Occurred core dump with multi-object when quitted qemu during doing IO [rhel-7.5.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: qemu-kvm-rhevAssignee: Stefan Hajnoczi <stefanha>
Status: CLOSED ERRATA QA Contact: aihua liang <aliang>
Severity: high Docs Contact:
Priority: high    
Version: 7.4-AltCC: aliang, chayang, coli, famz, juzhang, knoel, michen, mtessun, ngu, qzhang, rbalakri, stefanha, virt-maint, xianwang, yhong, yilzhang
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: qemu-kvm-rhev-2.10.0-21.el7_5.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1480202 Environment:
Last Closed: 2018-05-10 16:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1480202    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-04-12 14:56:17 UTC
This bug has been copied from bug #1480202 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 2 Miroslav Rezanina 2018-04-13 11:22:15 UTC
Fix included in qemu-kvm-rhev-2.10.0-21.el7_5.2

Comment 4 aihua liang 2018-04-16 09:36:40 UTC
Verified with qemu-kvm-rhev-2.10.0-21.el7_5.2, the problem has been resolved, so set its status to "verified".
Test version:
 qemu version: qemu-kvm-rhev-2.10.0-21.el7_5.2
 kernel version:3.10.0-862.el7.x86_64

Test steps:
 1. start guest with cmds:
    /usr/libexec/qemu-kvm \
-name 'avocado-vt-vm1'  \
-machine pc \
-vga std  \
-object iothread,id=iothread0 \
-object iothread,id=iothread1 \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=03,iothread=iothread0 \
-drive id=drive_image1,if=none,snapshot=on,aio=native,cache=none,format=qcow2,file=/home/kvm_autotest_root/images/rhel75-64-virtio.qcow2 \
-device scsi-hd,id=image1,drive=drive_image1,bus=scsi0.0,lun=0 \
-device virtio-net-pci,mac=9a:b2:b3:b4:b5:b6,id=iduCv1Ln,vectors=4,netdev=idKgexFk,bus=pci.0,addr=05  \
-netdev tap,id=idKgexFk,vhost=on \
-m 4096  \
-smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
-cpu host \
-vnc :1  \
-enable-kvm \
-monitor stdio \
-device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=04,iothread=iothread1 \
-drive id=data_image1,if=none,werror=stop,rerror=stop,cache=none,format=qcow2,file=/home/test.qcow2 \
-device scsi-hd,id=data1,drive=data_image1,bus=scsi1.0,lun=0 \

2.Run dd in guest:
  dd if=/dev/zero of=/dev/sdb bs=4K count=1000000000 oflag=direct status=progress

3. During dd running, quit qemu

Test result:
 QEMU quit successfully.

Comment 7 errata-xmlrpc 2018-05-10 16:04:49 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.