All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options
@ 2016-12-22 15:02 Ian Jackson
  2016-12-22 15:30 ` Jan Beulich
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2016-12-22 15:02 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson, Jan Beulich

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
---
 docs/misc/xen-command-line.markdown | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 0138978..68c81e6 100644
--- a/docs/misc/xen-command-line.markdown
+++ b/docs/misc/xen-command-line.markdown
@@ -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.
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options
  2016-12-22 15:02 [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options Ian Jackson
@ 2016-12-22 15:30 ` Jan Beulich
  2016-12-22 18:59   ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2016-12-22 15:30 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

>>> On 22.12.16 at 16:02, <ian.jackson@eu.citrix.com> wrote:
> @@ -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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options
  2016-12-22 15:30 ` Jan Beulich
@ 2016-12-22 18:59   ` Ian Jackson
  2016-12-27 15:36     ` Jan Beulich
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2016-12-22 18:59 UTC (permalink / raw)
  To: Jan Beulich; +Cc: xen-devel

Jan Beulich writes ("Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options"):
> On 22.12.16 at 16:02, <ian.jackson@eu.citrix.com> wrote:
> > -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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options
  2016-12-22 18:59   ` Ian Jackson
@ 2016-12-27 15:36     ` Jan Beulich
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Beulich @ 2016-12-27 15:36 UTC (permalink / raw)
  To: ian.jackson; +Cc: xen-devel

>>> Ian Jackson <ian.jackson@eu.citrix.com> 12/22/16 8:00 PM >>>
>Jan Beulich writes ("Re: [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options"):
>> On 22.12.16 at 16:02, <ian.jackson@eu.citrix.com> wrote:
>> > -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 ?

Yes.

>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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-27 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22 15:02 [PATCH] docs: Clarify scope of reboot= and noreboot Xen command line options Ian Jackson
2016-12-22 15:30 ` Jan Beulich
2016-12-22 18:59   ` Ian Jackson
2016-12-27 15:36     ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.