71aed0d95c
- kvm-virtio-net-Add-queues-before-loading-them.patch [RHEL-69477] - kvm-docs-system-s390x-bootdevices-Update-loadparm-docume.patch [RHEL-68440] - kvm-docs-system-bootindex-Make-it-clear-that-s390x-can-a.patch [RHEL-68440] - kvm-hw-s390x-Restrict-loadparm-property-to-devices-that-.patch [RHEL-68440] - kvm-hw-Add-loadparm-property-to-scsi-disk-devices-for-bo.patch [RHEL-68440] - kvm-scsi-fix-allocation-for-s390x-loadparm.patch [RHEL-68440] - kvm-pc-bios-s390x-Initialize-cdrom-type-to-false-for-eac.patch [RHEL-68440] - kvm-pc-bios-s390x-Initialize-machine-loadparm-before-pro.patch [RHEL-68440] - kvm-pc-bios-s390-ccw-Re-initialize-receive-queue-index-b.patch [RHEL-68440] - kvm-vnc-fix-crash-when-no-console-attached.patch [RHEL-61633] - Resolves: RHEL-69477 (qemu crashed when migrate vm with multiqueue from rhel9.4 to rhel9.6) - Resolves: RHEL-68440 (The new "boot order" feature is sometimes not working as expected [RHEL 9]) - Resolves: RHEL-61633 (Qemu-kvm crashed if no display device setting and switching display by remote-viewer [rhel-9])
66 lines
2.9 KiB
Diff
66 lines
2.9 KiB
Diff
From 255d789ab8fbc5a79236e0943a222371ceded164 Mon Sep 17 00:00:00 2001
|
|
From: Jared Rossi <jrossi@linux.ibm.com>
|
|
Date: Thu, 14 Nov 2024 19:27:42 -0500
|
|
Subject: [PATCH 02/10] docs/system/s390x/bootdevices: Update loadparm
|
|
documentation
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
RH-MergeRequest: 298: [c9s] Fixes for the new s390x "boot order" feature
|
|
RH-Jira: RHEL-68440
|
|
RH-Acked-by: Cédric Le Goater <clg@redhat.com>
|
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
RH-Commit: [1/8] df997bcf56bad83b5d4832dbf6c3298abd15b249 (thuth/qemu-kvm-cs9)
|
|
|
|
Update documentation to include per-device loadparm support.
|
|
|
|
Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
|
|
Reviewed-by: Thomas Huth <thuth@redhat.com>
|
|
Message-ID: <20241115002742.3576842-1-jrossi@linux.ibm.com>
|
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
(cherry picked from commit 0271fdc650b212533b8aeaecbedfe8ccf6bbbef3)
|
|
---
|
|
docs/system/s390x/bootdevices.rst | 24 +++++++++++++++++++++++-
|
|
1 file changed, 23 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/docs/system/s390x/bootdevices.rst b/docs/system/s390x/bootdevices.rst
|
|
index 1a1a764c1c..97b3914785 100644
|
|
--- a/docs/system/s390x/bootdevices.rst
|
|
+++ b/docs/system/s390x/bootdevices.rst
|
|
@@ -79,7 +79,29 @@ The second way to use this parameter is to use a number in the range from 0
|
|
to 31. The numbers that can be used here correspond to the numbers that are
|
|
shown when using the ``PROMPT`` option, and the s390-ccw bios will then try
|
|
to automatically boot the kernel that is associated with the given number.
|
|
-Note that ``0`` can be used to boot the default entry.
|
|
+Note that ``0`` can be used to boot the default entry. If the machine
|
|
+``loadparm`` is not assigned a value, then the default entry is used.
|
|
+
|
|
+By default, the machine ``loadparm`` applies to all boot devices. If multiple
|
|
+devices are assigned a ``bootindex`` and the ``loadparm`` is to be different
|
|
+between them, an independent ``loadparm`` may be assigned on a per-device basis.
|
|
+
|
|
+An example guest using per-device ``loadparm``::
|
|
+
|
|
+ qemu-system-s390x -drive if=none,id=dr1,file=primary.qcow2 \
|
|
+ -device virtio-blk,drive=dr1,bootindex=1 \
|
|
+ -drive if=none,id=dr2,file=secondary.qcow2 \
|
|
+ -device virtio-blk,drive=dr2,bootindex=2,loadparm=3
|
|
+
|
|
+In this case, the primary boot device will attempt to IPL using the default
|
|
+entry (because no ``loadparm`` is specified for this device or for the
|
|
+machine). If that device fails to boot, the secondary device will attempt to
|
|
+IPL using entry number 3.
|
|
+
|
|
+If a ``loadparm`` is specified on both the machine and a device, the per-device
|
|
+value will superseded the machine value. Per-device ``loadparm`` values are
|
|
+only used for devices with an assigned ``bootindex``. The machine ``loadparm``
|
|
+is used when attempting to boot without a ``bootindex``.
|
|
|
|
|
|
Booting from a network device
|
|
--
|
|
2.39.3
|
|
|