All of lore.kernel.org
 help / color / mirror / Atom feed
From: MINAI Katsuhito <minai@jp.fujitsu.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] [3/5] put xen console message into syslog
Date: Fri, 20 Oct 2006 21:50:06 +0900	[thread overview]
Message-ID: <20061020212708.C2E6.MINAI@jp.fujitsu.com> (raw)

[-- 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

                 reply	other threads:[~2006-10-20 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061020212708.C2E6.MINAI@jp.fujitsu.com \
    --to=minai@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.