All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.
@ 2015-02-03  9:53 Olaf Hering
  2015-02-10 15:18 ` Olaf Hering
  2015-02-13 13:16 ` Ian Jackson
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Hering @ 2015-02-03  9:53 UTC (permalink / raw)
  To: xen-devel
  Cc: Wei Liu, Olaf Hering, Ian Jackson, Ian Campbell,
	Stefano Stabellini

It is already used in the runlevel script and the service file.  It is
supposed to replace XENSTORED_TRACE= boolean, which cant be easily
supported in the xenstored.service file.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---

This was ignored for 4.5.0, it should be backported to 4.5.1.


 tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
index c12fc8a..f0fa98d 100644
--- a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
+++ b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
@@ -21,6 +21,14 @@
 #XENSTORED=@XENSTORED@
 
 ## Type: string
+## Default: ""
+#
+# Additional commandline arguments to start xenstored,
+# like "--trace-file /var/log/xen/xenstored-trace.log"
+# See "@sbindir@/xenstored --help" for possible options.
+XENSTORED_ARGS=
+
+## Type: string
 ## Default: Not defined, tracing off
 #
 # Log xenstored messages

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

* Re: [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.
  2015-02-03  9:53 [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file Olaf Hering
@ 2015-02-10 15:18 ` Olaf Hering
  2015-02-13 13:16 ` Ian Jackson
  1 sibling, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2015-02-10 15:18 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu, Ian Jackson, Ian Campbell, Stefano Stabellini

Ping?

On Tue, Feb 03, Olaf Hering wrote:

> It is already used in the runlevel script and the service file.  It is
> supposed to replace XENSTORED_TRACE= boolean, which cant be easily
> supported in the xenstored.service file.
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> ---
> 
> This was ignored for 4.5.0, it should be backported to 4.5.1.
> 
> 
>  tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
> index c12fc8a..f0fa98d 100644
> --- a/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
> +++ b/tools/hotplug/Linux/init.d/sysconfig.xencommons.in
> @@ -21,6 +21,14 @@
>  #XENSTORED=@XENSTORED@
>  
>  ## Type: string
> +## Default: ""
> +#
> +# Additional commandline arguments to start xenstored,
> +# like "--trace-file /var/log/xen/xenstored-trace.log"
> +# See "@sbindir@/xenstored --help" for possible options.
> +XENSTORED_ARGS=
> +
> +## Type: string
>  ## Default: Not defined, tracing off
>  #
>  # Log xenstored messages

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

* Re: [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.
  2015-02-03  9:53 [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file Olaf Hering
  2015-02-10 15:18 ` Olaf Hering
@ 2015-02-13 13:16 ` Ian Jackson
  2015-02-16 13:56   ` Olaf Hering
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2015-02-13 13:16 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Stefano Stabellini, Wei Liu, Ian Campbell, xen-devel

Olaf Hering writes ("[PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file."):
> It is already used in the runlevel script and the service file.  It is
> supposed to replace XENSTORED_TRACE= boolean, which cant be easily
> supported in the xenstored.service file.

I haven't gone through all the history again, but I think the last
time this came up I objected to the idea that XENSTORED_TRACE was
being deprecated.

I don't object to XENSTORED_ARGS as an additional variable.  So I
think this could be addressed by (a) not saying in the commit message
that XENSTORED_TRACE is being replaced and (b) using a different
example (or no) example in the comment.

Thanks,
Ian.

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

* Re: [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file.
  2015-02-13 13:16 ` Ian Jackson
@ 2015-02-16 13:56   ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2015-02-16 13:56 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Stefano Stabellini, Wei Liu, Ian Campbell, xen-devel

On Fri, Feb 13, Ian Jackson wrote:

> Olaf Hering writes ("[PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file."):
> > It is already used in the runlevel script and the service file.  It is
> > supposed to replace XENSTORED_TRACE= boolean, which cant be easily
> > supported in the xenstored.service file.
> 
> I haven't gone through all the history again, but I think the last
> time this came up I objected to the idea that XENSTORED_TRACE was
> being deprecated.
> 
> I don't object to XENSTORED_ARGS as an additional variable.  So I
> think this could be addressed by (a) not saying in the commit message
> that XENSTORED_TRACE is being replaced and (b) using a different
> example (or no) example in the comment.

Ok, I will adjust the commit message and resend along with other pending
tools changes.

Olaf

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

end of thread, other threads:[~2015-02-16 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03  9:53 [PATCH] tools/hotplug: introduce XENSTORED_ARGS= in sysconfig file Olaf Hering
2015-02-10 15:18 ` Olaf Hering
2015-02-13 13:16 ` Ian Jackson
2015-02-16 13:56   ` Olaf Hering

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.