Bug 2128225

Summary: [s390x] [RHEL8][s390x-ccw bios] lacking document about parameter loadparm in qemu
Product: Red Hat Enterprise Linux 8 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, jmaloy, juzhang, knoel, lijin, pbonzini, ribarry, smitterl, stefanha, thuth, vgoyal, virt-maint, virt-qe-z, yiwei
Version: 8.7Keywords: Triaged
Target Milestone: rc   
Target Release: 8.8   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-26.module+el8.8.0+17341+68372c23 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:16:35 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 bfu 2022-09-20 09:32:36 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 3 Thomas Huth 2022-11-18 16:29:19 UTC
(In reply to bfu from comment #0)
> Actual results:
> 1. [root@kernelqe2 io-github-autotest-qemu]# 
> 2. Patter not found in qemu-kvm manpage

@bfu : FYI, I've now written a patch that adds some documentation, but it's added to the /usr/share/doc/qemu-kvm/system/s390x/bootdevices.html documentation, not to the man page ... I hope that's also OK? (It made more sense to me to add it to the place where we document the behavior of the boot on s390x)

Comment 8 bfu 2022-11-30 07:44:01 UTC
(In reply to Thomas Huth from comment #3)
> (In reply to bfu from comment #0)
> > Actual results:
> > 1. [root@kernelqe2 io-github-autotest-qemu]# 
> > 2. Patter not found in qemu-kvm manpage
> 
> @bfu : FYI, I've now written a patch that adds some
> documentation, but it's added to the
> /usr/share/doc/qemu-kvm/system/s390x/bootdevices.html documentation, not to
> the man page ... I hope that's also OK? (It made more sense to me to add it
> to the place where we document the behavior of the boot on s390x)

it make sense to me

Comment 9 bfu 2022-11-30 07:49:32 UTC
qemu version: qemu-kvm-6.2.0-26.module+el8.8.0+17341+68372c23.s390x

Test result:
[root@s390x-kvm-009 ~]# /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


Follow the test result, set this bz as verified

Comment 13 errata-xmlrpc 2023-05-16 08:16:35 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: virt:rhel and virt-devel:rhel 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:2757