From: MINAI Katsuhito <minai@jp.fujitsu.com>
To: Akio Takebe <takebe_akio@jp.fujitsu.com>
Cc: Hans-Christian Armingeon <mog.johnny@gmx.net>,
xen-devel@lists.xensource.com,
Mark Williamson <mark.williamson@cl.cam.ac.uk>
Subject: [PATCH] [3/4] put xen console message into syslog but xm dmesg is not affected
Date: Fri, 07 Jul 2006 17:22:30 +0900 [thread overview]
Message-ID: <20060707170538.E3CF.MINAI@jp.fujitsu.com> (raw)
[-- 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
reply other threads:[~2006-07-07 8:22 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=20060707170538.E3CF.MINAI@jp.fujitsu.com \
--to=minai@jp.fujitsu.com \
--cc=mark.williamson@cl.cam.ac.uk \
--cc=mog.johnny@gmx.net \
--cc=takebe_akio@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.