Bug 2064530

Summary: Rebuild qemu-kvm with clang-14
Product: Red Hat Enterprise Linux 9 Reporter: Tom Stellard <tstellar>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
qemu-kvm sub component: General QA Contact: zhenchao <zhencliu>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: berrange, coli, jinzhao, juzhang, mdeng, virt-maint, wquan, yfu, zhencliu
Version: 9.1Flags: zhencliu: needinfo-
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-7.0.0-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:54:33 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: 2061041    
Bug Blocks:    

Description Tom Stellard 2022-03-16 05:37:07 UTC
We will be updating clang to version 14 for RHEL9.1.  qemu-kvm should plan to rebuild with this new version for the RHEL9.1 release.  Let me know if you have any concerns about this.

Comment 1 Miroslav Rezanina 2022-03-16 13:55:20 UTC
As we are doing regular update this should be done natural way with first build after clang update.

Comment 2 Daniel Berrangé 2022-05-17 09:02:18 UTC
Looks like new compiler exposed a logic bug in migration code that needs this upstream fix:

commit f912ec5b2d65644116ff496b58d7c9145c19e4c0
Author: Dr. David Alan Gilbert <dgilbert>
Date:   Wed Apr 6 11:25:15 2022 +0100

    migration: Fix operator type
    
    Clang spotted an & that should have been an &&; fix it.
    
    Reported by: David Binderman / https://gitlab.com/dcb
    Fixes: 65dacaa04fa ("migration: introduce save_normal_page()")
    Resolves: https://gitlab.com/qemu-project/qemu/-/issues/963
    Signed-off-by: Dr. David Alan Gilbert <dgilbert>
    Message-Id: <20220406102515.96320-1-dgilbert>
    Reviewed-by: Peter Maydell <peter.maydell>
    Reviewed-by: Peter Xu <peterx>
    Signed-off-by: Dr. David Alan Gilbert <dgilbert>

Comment 6 Yanan Fu 2022-05-23 05:43:17 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 13 errata-xmlrpc 2022-11-15 09:54:33 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 (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-2022:7967