Skip to contentSkip to conversation

docs: update documentation of reboot param

PATCH Superseded Marek Marczykowski-Górecki 2 participants 3 messages Oct 16, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: update documentation of reboot param

Reflect changed default mode, and fix formatting of efi value.

Fixes d81dd3130351 ("x86/shutdown: change default reboot method preference")
---
 docs/misc/xen-command-line.pandoc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
docs/misc/xen-command-line.pandoc +2 -3
index 5ce63044ade8..0e36608f13e6 100644
@@ -2153,14 +2153,13 @@ Specify the host reboot method.
 
 `kbd` instructs Xen to reboot the host via the keyboard controller.
 
-`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT.
+`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT (this is default mode if available).
 
 `pci` instructs Xen to reboot the host using PCI reset register (port CF9).
 
 `Power` instructs Xen to power-cycle the host using PCI reset register (port CF9).
 
-'efi' instructs Xen to reboot using the EFI reboot call (in EFI mode by
- default it will use that method first).
+`efi` instructs Xen to reboot using the EFI reboot call.
 
 `xen` instructs Xen to reboot using Xen's SCHEDOP hypercall (this is the default
 when running nested Xen)
Signature · 1 line
2.46.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Marek Marczykowski-Górecki

Reflect changed default mode, and fix formatting of efi value.

Fixes d81dd3130351 ("x86/shutdown: change default reboot method preference")

with ...

docs/misc/xen-command-line.pandoc Specify the host reboot method. · line 2156

Quoted 8 lines
docs/misc/xen-command-line.pandoc +1 -1
@@ -2153,14 +2153,13 @@ Specify the host reboot method.
 
 `kbd` instructs Xen to reboot the host via the keyboard controller.
 
-`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT.
+`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT (this is default mode if available).

... this line suitably wrapped (can likely be done while committing).

Jan

#2 lore raw
In reply to Marek Marczykowski-Górecki
Quoted 9 lines · Marek Marczykowski-Górecki
docs/misc/xen-command-line.pandoc +1 -1
@@ -2153,14 +2153,13 @@ Specify the host reboot method.
 
 `kbd` instructs Xen to reboot the host via the keyboard controller.
 
-`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT.
+`acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT (this is default mode if available).
 

docs/misc/xen-command-line.pandoc Specify the host reboot method. · line 2165

Quoted 10 lines
docs/misc/xen-command-line.pandoc +1 -2
 `pci` instructs Xen to reboot the host using PCI reset register (port CF9).
 
 `Power` instructs Xen to power-cycle the host using PCI reset register (port CF9).
 
-'efi' instructs Xen to reboot using the EFI reboot call (in EFI mode by
- default it will use that method first).
+`efi` instructs Xen to reboot using the EFI reboot call.
 
 `xen` instructs Xen to reboot using Xen's SCHEDOP hypercall (this is the default
 when running nested Xen)

Hmm, out of context there is the pretty bogus

Quoted 1 line

Default: 0

I wonder if we shouldn't adjust that as well while at it, to perhaps say "system dependent" or some such.

Jan