WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Output the Xen changeset in the logs at start of day.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 18:54:27 +0000
Delivery-date: Fri, 21 Oct 2005 18:53:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Output the Xen changeset in the logs at start of day., Xen patchbot -unstable <=