tools: fix incorrect suggestions for XENCONSOLED_TRACE on BSD
PATCH v2 1/1 tools: fix incorrect suggestions for XENCONSOLED_TRACE on BSD
--log does not take a file, it specifies what is supposed to be logged.
Also separate the XENSTORED and XENCONSOLED variables by a newline.
Signed-off-by Olaf Hering <[email protected]>
--- tools/hotplug/FreeBSD/rc.d/xencommons.in | 5 +++-- tools/hotplug/NetBSD/rc.d/xencommons.in | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
tools/hotplug/FreeBSD/rc.d/xencommons.in +3 -2
@@ -21,9 +21,10 @@ status_cmd="xen_status" extra_commands="status" required_files="/dev/xen/xenstored" -XENSTORED_PIDFILE="@XEN_RUN_DIR@/xenstored.pid" XENCONSOLED_PIDFILE="@XEN_RUN_DIR@/xenconsoled.pid" -#XENCONSOLED_TRACE="@XEN_LOG_DIR@/xenconsole-trace.log" +#XENCONSOLED_TRACE="none|guest|hv|all" + +XENSTORED_PIDFILE="@XEN_RUN_DIR@/xenstored.pid" #XENSTORED_TRACE="@XEN_LOG_DIR@/xen/xenstore-trace.log" load_rc_config $name
tools/hotplug/NetBSD/rc.d/xencommons.in +3 -2
@@ -20,9 +20,10 @@ status_cmd="xen_status" extra_commands="status" required_files="/kern/xen/privcmd" -XENSTORED_PIDFILE="@XEN_RUN_DIR@/xenstored.pid" XENCONSOLED_PIDFILE="@XEN_RUN_DIR@/xenconsoled.pid" -#XENCONSOLED_TRACE="@XEN_LOG_DIR@/xenconsole-trace.log" +#XENCONSOLED_TRACE="none|guest|hv|all" + +XENSTORED_PIDFILE="@XEN_RUN_DIR@/xenstored.pid" #XENSTORED_TRACE="@XEN_LOG_DIR@/xenstore-trace.log" xen_precmd()
Quoted 5 lines · Olaf Hering
--log does not take a file, it specifies what is supposed to be logged.
Also separate the XENSTORED and XENCONSOLED variables by a newline.
Signed-off-by Olaf Hering <[email protected]>
Acked-by Andrew Cooper <[email protected]>