direct-io.hg

changeset 7454:82cdb5efc3a8

Output the Xen changeset in the logs at start of day.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Fri Oct 21 11:08:48 2005 +0100 (2005-10-21)
parents 840a66f08e3d
children 021324804fbd
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Thu Oct 20 14:06:07 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Fri Oct 21 11:08:48 2005 +0100
     1.3 @@ -14,6 +14,8 @@ import pwd
     1.4  import re
     1.5  import traceback
     1.6  
     1.7 +import xen.lowlevel.xc
     1.8 +
     1.9  from xen.xend.server import SrvServer
    1.10  from xen.xend.XendLogging import log
    1.11  
    1.12 @@ -268,6 +270,10 @@ class Daemon:
    1.13      def run(self, status):
    1.14          try:
    1.15              log.info("Xend Daemon started")
    1.16 +
    1.17 +            xinfo = xen.lowlevel.xc.new().xeninfo()
    1.18 +            log.info("Xend changeset: %s.", xinfo['xen_changeset'])
    1.19 +
    1.20              event.listenEvent(self)
    1.21              relocate.listenRelocation()
    1.22              servers = SrvServer.create()