[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Output the Xen changeset in the logs at start of day.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 82cdb5efc3a8d8feb157512bce057abb91dade32
# Parent  840a66f08e3d86100af8d12d36796773db9aec02
Output the Xen changeset in the logs at start of day.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 840a66f08e3d -r 82cdb5efc3a8 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Thu Oct 20 13:06:07 2005
+++ b/tools/python/xen/xend/server/SrvDaemon.py Fri Oct 21 10:08:48 2005
@@ -13,6 +13,8 @@
 import pwd
 import re
 import traceback
+
+import xen.lowlevel.xc
 
 from xen.xend.server import SrvServer
 from xen.xend.XendLogging import log
@@ -268,6 +270,10 @@
     def run(self, status):
         try:
             log.info("Xend Daemon started")
+
+            xinfo = xen.lowlevel.xc.new().xeninfo()
+            log.info("Xend changeset: %s.", xinfo['xen_changeset'])
+
             event.listenEvent(self)
             relocate.listenRelocation()
             servers = SrvServer.create()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.