Bug 2072932
| Summary: | Qemu coredump when refreshing block limits on an actively used iothread block device [rhel.8.7] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | qing.wang <qinwang> |
| Component: | qemu-kvm | Assignee: | Hanna Czenczek <hreitz> |
| qemu-kvm sub component: | virtio-blk,scsi | QA Contact: | qing.wang <qinwang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | medium | CC: | aliang, coli, hreitz, jinzhao, juzhang, kkiwi, ngu, qinwang, qzhang, virt-maint, yfu, zhencliu |
| Version: | 8.7 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-6.2.0-15.module+el8.7.0+15644+189a21f6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1879437 | Environment: | |
| Last Closed: | 2022-11-08 09:19:55 UTC | Type: | Bug |
| 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: | 1879437 | ||
| Bug Blocks: | |||
|
Comment 1
qing.wang
2022-04-07 10:17:12 UTC
Fix is upstream as 4d378bbd831bdd2f6e6adcd4ea5b77b6effaa627 (“block: Make bdrv_refresh_limits() non-recursive”). Passed on
Red Hat Enterprise Linux release 8.7 Beta (Ootpa)
4.18.0-398.el8.x86_64
qemu-kvm-6.2.0-15.module+el8.7.0+15644+189a21f6.x86_64
seabios-bin-1.16.0-2.module+el8.7.0+15506+033991b0.noarch
edk2-ovmf-20220126gitbb1bba3d77-2.el8.noarch
Test script:
#!/bin/sh
QEMU_IMG=qemu-img
QSD=qemu-storage-daemon
TMPD=/tmp/p291748
mkdir -p $TMPD
if ! which $QSD;then echo "$QSD does not exist";exit 1; fi
rm -f ${TMPD}/qsd.pid
"$QEMU_IMG" create -f qcow2 -F raw -b null-co:// ${TMPD}/top.qcow2
(echo '{"execute": "qmp_capabilities"}'
sleep 1
while true; do
echo '{"execute": "blockdev-add", "arguments": {"driver": "qcow2", "node-name": "tmp", "backing": "node0", "file": {"driver": "file", "filename": "/tmp/p291748/top.qcow2"}}}'
echo '{"execute": "blockdev-del", "arguments": {"node-name": "tmp"}}'
done) | \
"$QSD" \
--chardev stdio,id=stdio \
--monitor mon0,chardev=stdio \
--object iothread,id=iothread0 \
--blockdev null-co,node-name=node0,read-zeroes=true \
--nbd-server addr.type=unix,addr.path=${TMPD}/nbd.sock \
--export nbd,id=exp0,node-name=node0,iothread=iothread0,fixed-iothread=true,writable=true \
--pidfile ${TMPD}/qsd.pid \
&
while [ ! -f ${TMPD}/qsd.pid ]; do
true
done
"$QEMU_IMG" bench -f raw -c 4000000 nbd+unix:///node0\?socket=${TMPD}/nbd.sock
ret=$?
kill %1
rm -rf ${TMPD}
exit $ret
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 (Low: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2022:7472 |