* [PATCH] [3/4] put xen console message into syslog but xm dmesg is not affected
@ 2006-07-07 8:22 MINAI Katsuhito
0 siblings, 0 replies; only message in thread
From: MINAI Katsuhito @ 2006-07-07 8:22 UTC (permalink / raw)
To: Akio Takebe; +Cc: Hans-Christian Armingeon, xen-devel, Mark Williamson
[-- Attachment #1: Type: text/plain, Size: 167 bytes --]
[3/4] modify xend for automatically starting xenlogd
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Katsuhito Minai <minai@jp.fujitsu.com>
[-- Attachment #2: 3.xend.patch --]
[-- Type: application/octet-stream, Size: 1081 bytes --]
diff -r 8e55c5c11475 tools/misc/xend
--- a/tools/misc/xend Wed Jul 05 18:48:41 2006 +0100
+++ b/tools/misc/xend Fri Jul 07 16:41:49 2006 +0900
@@ -93,6 +93,10 @@ def start_consoled():
if os.fork() == 0:
os.execvp('xenconsoled', ['xenconsoled'])
+def start_xenlogd():
+ if os.fork() == 0:
+ os.execvp('xenlogd', ['xenlogd'])
+
def main():
try:
check_logging()
@@ -106,16 +110,19 @@ def main():
elif sys.argv[1] == 'start':
start_xenstored()
start_consoled()
+ start_xenlogd()
return daemon.start()
elif sys.argv[1] == 'trace_start':
start_xenstored()
start_consoled()
+ start_xenlogd()
return daemon.start(trace=1)
elif sys.argv[1] == 'stop':
return daemon.stop()
elif sys.argv[1] == 'restart':
start_xenstored()
start_consoled()
+ start_xenlogd()
return daemon.stop() or daemon.start()
elif sys.argv[1] == 'status':
return daemon.status()
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-07 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 8:22 [PATCH] [3/4] put xen console message into syslog but xm dmesg is not affected MINAI Katsuhito
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.