All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [3/5] put xen console message into syslog
@ 2006-10-20 12:50 MINAI Katsuhito
  0 siblings, 0 replies; only message in thread
From: MINAI Katsuhito @ 2006-10-20 12:50 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

Hi,

[3/5] modify xend for automatically starting xenlogd

Signed-off-by: Katsuhito Minai <minai@jp.fujitsu.com>

Best Regards,
Katsuhito Minai


[-- Attachment #2: 3.xend.patch --]
[-- Type: application/octet-stream, Size: 1203 bytes --]

diff -r 6ed4368b4a9e tools/misc/xend
--- a/tools/misc/xend	Sun Oct 15 09:53:20 2006 +0100
+++ b/tools/misc/xend	Fri Oct 20 21:06:25 2006 +0900
@@ -96,7 +96,11 @@ def start_blktapctrl():
 def start_blktapctrl():
     if os.fork() == 0:
         os.execvp('blktapctrl', ['blktapctrl'])
-            
+
+def start_xenlogd():
+    if os.fork() == 0:
+        os.execvp('xenlogd', ['xenlogd'])
+
 def main():
     try:
         check_logging()
@@ -110,12 +114,14 @@ def main():
     elif sys.argv[1] == 'start':
         start_xenstored()
         start_consoled()
-	start_blktapctrl()
+        start_blktapctrl()
+        start_xenlogd()
         return daemon.start()
     elif sys.argv[1] == 'trace_start':
         start_xenstored()
         start_consoled()
         start_blktapctrl()
+        start_xenlogd()
         return daemon.start(trace=1)
     elif sys.argv[1] == 'stop':
         return daemon.stop()
@@ -123,6 +129,7 @@ def main():
         start_xenstored()
         start_consoled()
         start_blktapctrl()
+        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-10-20 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 12:50 [PATCH] [3/5] put xen console message into syslog 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.