Skip to contentSkip to conversation

docs: Clarify scope of reboot= and noreboot Xen command line options

PATCH In review Ian Jackson 2 participants 4 messages Dec 22, 2016 – Dec 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Clarify scope of reboot= and noreboot Xen command line options

---
 docs/misc/xen-command-line.markdown | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
docs/misc/xen-command-line.markdown +4 -1
index 0138978..68c81e6 100644
@@ -1260,6 +1260,7 @@ the **vga** option, which relies on real mode to set the video mode.
 Do not automatically reboot after an error.  This is useful for
 catching debug output.  Defaults to automatically reboot after 5
 seconds.
+This is equivalent to `reboot=no`
 
 ### nosmp
 > `= <boolean>`
@@ -1356,7 +1357,9 @@ The following resources are available:
 
 > Default: `0`
 
-Specify the host reboot method.
+Specify the host reboot method,
+used when Xen crashes.
+(This does not affect deliberate reboots initiated by dom0.)
 
 `warm` instructs Xen to not set the cold reboot flag.
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

docs/misc/xen-command-line.markdown The following resources are available: · line 1362

Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 22.12.16 at 16:02, <[email protected]> wrote:
docs/misc/xen-command-line.markdown +3 -1
@@ -1356,7 +1357,9 @@ The following resources are available:
 
 > Default: `0`
 
-Specify the host reboot method.
+Specify the host reboot method,
+used when Xen crashes.
+(This does not affect deliberate reboots initiated by dom0.)

This should be moved down to where no is being described, as it affects only that sub-option. The reboot methods, otoh, affect all kinds of reboots.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

Jan Beulich writes ("Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options"):

Quoted 9 lines · On 22.12.16 at 16:02, <[email protected]> wrote:

docs/misc/xen-command-line.markdown The following resources are available: · line 1362

Quoted 4 lines
docs/misc/xen-command-line.markdown +3 -1
-Specify the host reboot method.
+Specify the host reboot method,
+used when Xen crashes.
+(This does not affect deliberate reboots initiated by dom0.)

This should be moved down to where no is being described, as it affects only that sub-option. The reboot methods, otoh, affect all kinds of reboots.

So you might say
reboot=triple reboot=efi reboot=no
and this would mean to do requested reboots with efi and crash reboots not at all, with `reboot=triple' being completely ignored ?

This is ... a funny way for an option with a `=' to behave. Perhaps we should deprecate this.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line

Ian Jackson <[email protected]> 12/22/16 8:00 PM >>>

Jan Beulich writes ("Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options"):

Quoted 9 lines · On 22.12.16 at 16:02, <[email protected]> wrote:

docs/misc/xen-command-line.markdown The following resources are available: · line 1362

Quoted 4 lines
docs/misc/xen-command-line.markdown +3 -1
-Specify the host reboot method.
+Specify the host reboot method,
+used when Xen crashes.
+(This does not affect deliberate reboots initiated by dom0.)

This should be moved down to where no is being described, as it affects only that sub-option. The reboot methods, otoh, affect all kinds of reboots.

Quoted 4 lines

So you might say
reboot=triple reboot=efi reboot=no
and this would mean to do requested reboots with efi and crash reboots not at all, with `reboot=triple' being completely ignored ?

Yes.

Quoted 2 lines

This is ... a funny way for an option with a `=' to behave. Perhaps we should deprecate this.

I don't think we should. This override behavior has a use - when something is preset in a config file, and you want to override it on the command line (which can be easily the case namely under EFI). And this behavior is the same for most if not all other command line options.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel