Bug 2128235

Summary: [s390x][RHEL9] [s390x-ccw bios] lacking document about parameter loadparm in qemu
Product: Red Hat Enterprise Linux 9 Reporter: bfu <bfu>
Component: qemu-kvmAssignee: Thomas Huth <thuth>
qemu-kvm sub component: General QA Contact: bfu <bfu>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: cohuck, coli, dhorak, jinzhao, juzhang, knoel, lijin, mrezanin, pbonzini, ribarry, smitterl, stefanha, thuth, vgoyal, virt-maint, virt-qe-z, yiwei
Version: 9.1Keywords: Triaged
Target Milestone: rc   
Target Release: 9.2   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-7.2.0-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:20:41 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: 7.2.0
Embargoed:

Description bfu 2022-09-20 10:17:44 UTC
Description of problem:
Seems we have a undocumented parameter named 'loadparm' in qemu

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
[root@kernelqe2 io-github-autotest-qemu]#  /usr/libexec/qemu-kvm -machine s390-ccw-virtio,? | grep -i loadparm

2. man qemu-kvm and search for loadparm




Actual results:
1. [root@kernelqe2 io-github-autotest-qemu]# 
2. Patter not found in qemu-kvm manpage

Expected results:
there should be related information in return messages

Additional info:

Comment 1 Thomas Huth 2022-11-15 10:14:28 UTC
Patch suggested here:
https://lore.kernel.org/qemu-devel/20221114132502.110213-1-thuth@redhat.com/

The output of "-machine s390-ccw-virtio,help" will be fixed with this patch here:
https://gitlab.com/qemu-project/qemu/-/commit/1fd396e32288bbf536483c74b68cb3ee86005a9f

Comment 2 Thomas Huth 2022-11-18 07:41:05 UTC
Patch has been merged upstream:

https://gitlab.com/qemu-project/qemu/-/commit/be5df2edb5d69ff3107c5616aa

... we'll get this in RHEL9 with the rebase of qemu-kvm to version 7.2.0, so I'm setting the status to POST now.

Comment 6 bfu 2022-12-27 06:07:12 UTC
Test environment:
qemu-kvm-7.2.0-2.el9.s390x

Test result:
/usr/libexec/qemu-kvm -machine s390-ccw-virtio,? | grep -i loadparm
  loadparm=<loadparm>    - Up to 8 chars in set of [A-Za-z0-9. ] (lower case chars converted to upper case) to pass to machine loader, boot manager, and guest kernel

set verified to this bz

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