Bug 2073887
Summary: | Segmentation fault when listening specified event types | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Lili Zhu <lizhu> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
libvirt sub component: | CLI & API | QA Contact: | zhentang <zhetang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | jdenemar, jtomko, lcheng, lmen, virt-maint, xuzhang, yanqzhan, zhetang |
Version: | 9.1 | Keywords: | Automation, Regression |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-8.3.0-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 10:04:06 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: | 8.3.0 |
Embargoed: |
Description
Lili Zhu
2022-04-11 04:18:35 UTC
Proposed upstream patch: https://listman.redhat.com/archives/libvir-list/2022-April/229987.html Pushed as: commit df757e88fdb26e64e6b5a5c786e6f59d1d9b130a Author: Ján Tomko <jtomko> CommitDate: 2022-04-11 17:03:49 +0200 virsh: fix event registration for single event Allocate a larger 'data' array than strictly needed for simplicity and use 'ndata' as the index when filling it to put the single event at the first unused place, instead of at its index in the virshDomainEventCallbacks array. https://bugzilla.redhat.com/show_bug.cgi?id=2073887 Fixes: c6bb2746933bbe65877a5f8a8d60e100b0bf8a59 Signed-off-by: Ján Tomko <jtomko> Reviewed-by: Michal Privoznik <mprivozn> git describe: v8.2.0-130-gdf757e88fd Verified Version libvirt-8.3.0-1.el9 # virsh event --event reboot event 'reboot' for domain 'rhel9' events received: 1 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: libvirt 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:8003 |