Bug 2155748
Summary: | qemu crash on void blk_drain(BlockBackend *): Assertion qemu_in_main_thread() failed | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | qing.wang <qinwang> | |
Component: | qemu-kvm | Assignee: | Stefan Hajnoczi <stefanha> | |
qemu-kvm sub component: | virtio-blk,scsi | QA Contact: | qing.wang <qinwang> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | high | CC: | aliang, chayang, coli, hreitz, jinzhao, juzhang, kwolf, lijin, mrezanin, pvlasin, qinwang, qizhu, stefanha, vgoyal, virt-maint, xuwei, ymankad, zhenyzha | |
Version: | 9.2 | Keywords: | CustomerScenariosInitiative, Triaged | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-7.2.0-12.el9_2 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2176926 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-09 07:20:55 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: | ||||
Bug Blocks: | 2090990, 2176926 |
Description
qing.wang
2022-12-22 08:05:10 UTC
Is this something new? Is this a regression? Can you try with older qemu versions and figure out when was this issue introduced? I think the assertion is too strict. I'll send a QEMU patch for Kevin and Emanuele to review. (In reply to Vivek Goyal from comment #3) > Is this something new? Is this a regression? > > Can you try with older qemu versions and figure out when was this issue > introduced? maybe it is not a regression issue, if we use an older version (7.1-0) it will hit Bug 2090139 - qemu crash with error scsi_req_unref(SCSIRequest *): Assertion `req->refcount > 0' failed or scsi_dma_complete(void *, int): Assertion `r->req.aiocb != NULL' failed New upstream patch: https://lore.kernel.org/qemu-devel/20230119214326.1339323-1-stefanha@redhat.com/T/#u Backport posted: https://gitlab.com/redhat/rhel/src/qemu-kvm/qemu-kvm/-/merge_requests/261 Exception requested because this bug crashes QEMU, which may cause customers to lose data. I have set needinfo from Qing Wang just to make sure everyone is aware that this BZ is being merged for RHEL 9.2 qemu-kvm and can be verified soon. *** Bug 2090139 has been marked as a duplicate of this bug. *** QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. Passed test on Red Hat Enterprise Linux release 9.2 Beta (Plow) 5.14.0-283.el9.x86_64 qemu-kvm-7.2.0-12.el9_2.x86_64 seabios-bin-1.16.1-1.el9.noarch edk2-ovmf-20221207gitfff6d81270b5-7.el9.noarch virtio-win-prewhql-0.1-234.iso python ConfigTest.py --testcase=multi_disk_wild_hotplug --iothread_scheme=roundrobin --nr_iothreads=2 --platform=x86_64 --guestname=RHEL.9.1.0 --driveformat=virtio_scsi --nicmodel=virtio_net --imageformat=qcow2 --machines=q35 --customsparams="vm_mem_limit = 12G\nimage_aio=threads" --firmware=default_bios --netdst=virbr0 --nrepeat=10 passed the test in comment #41 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 (Moderate: qemu-kvm 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-2023:2162 |