Bug 2143584

Summary: Update machine type compatibility for QEMU 7.2.0 update [aarch64]
Product: Red Hat Enterprise Linux 9 Reporter: Miroslav Rezanina <mrezanin>
Component: qemu-kvmAssignee: Cornelia Huck <cohuck>
qemu-kvm sub component: Machine Types QA Contact: Yihuang Yu <yihyu>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: coli, jinzhao, juzhang, lijin, virt-maint
Version: 9.2Keywords: RFE, Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-7.2.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:20:51 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:

Description Miroslav Rezanina 2022-11-17 10:05:35 UTC
With rebase to QEMU 7.2.0 we have to update compatibility bits for qemu-kvm package so we keep old machine types stable.

Please add necessary changes to ensure all machine types are compatible with previous versions.

Comment 2 John Ferlan 2022-11-17 12:02:25 UTC
Mirek - in your opinion, is this different than bug 2131982? If so, then please be sure this bug gets added to the machine type epic; otherwise, close as duplicate.

Comment 3 Miroslav Rezanina 2022-11-21 05:52:52 UTC
Yes, this is different. We can introduce new machine type after rebase is done but compatibility has to be solved before rebase.

Comment 4 Cornelia Huck 2022-11-23 12:08:17 UTC
There is nothing that needs to be updated as of now (-rc2 time), and I don't see anything on the list that would need to be included.

Moving to POST; I expect we can simply close this when 7.2 is out.

Comment 5 Yihuang Yu 2022-12-21 01:46:57 UTC
Pre-verify with qemu-kvm-7.2.0-2.el9

# /usr/libexec/qemu-kvm -M ?
Supported machines are:
virt                 RHEL 9.2.0 ARM Virtual Machine (alias of virt-rhel9.2.0)
virt-rhel9.2.0       RHEL 9.2.0 ARM Virtual Machine (default)
virt-rhel9.0.0       RHEL 9.0.0 ARM Virtual Machine
none                 empty machine

Test Environment:
Host Distro: RHEL-9.2.0-20221220.0 BaseOS aarch64
Host Kernel: kernel-5.14.0-217.el9.aarch64
QEMU: qemu-kvm-7.2.0-2.el9.aarch64
edk2: edk2-aarch64-20220826gitba0e0e4c6a-2.el9.noarch
Guest: RHEL.9.2.0

Results Analysis:
From 83 tests executed, 82 passed and 0 warned - success rate of 98.80% (excluding SKIP and CANCEL)
The failed case is due to an existing all platform bug

New bugs(0):
Existing bugs(0):

Job link:
http://10.0.136.47/7363114/results.html

Will also update the test result of virt-9.0.0 machine type later, because it also includes a change: compat_props_add(mc->compat_props, hw_compat_rhel_9_1, hw_compat_rhel_9_1_len);

Comment 8 Yihuang Yu 2022-12-24 04:34:26 UTC
Test result of virt-rhel9.0.0: http://10.0.136.47/7365959/results.html

Comment 10 errata-xmlrpc 2023-05-09 07:20:51 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-2023:2162