ia64/xen-unstable

changeset 16988:df6b8bed2845

xend: Scrub vnc password for vfb from xend.log.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Feb 05 10:40:10 2008 +0000 (2008-02-05)
parents def2adbce510
children 92734271810a
files tools/python/xen/xend/server/DevController.py
line diff
     1.1 --- a/tools/python/xen/xend/server/DevController.py	Tue Feb 05 10:39:35 2008 +0000
     1.2 +++ b/tools/python/xen/xend/server/DevController.py	Tue Feb 05 10:40:10 2008 +0000
     1.3 @@ -22,6 +22,7 @@ import types
     1.4  from xen.xend import sxp, XendOptions
     1.5  from xen.xend.XendError import VmError
     1.6  from xen.xend.XendLogging import log
     1.7 +import xen.xend.XendConfig
     1.8  
     1.9  from xen.xend.xenstore.xstransact import xstransact, complete
    1.10  from xen.xend.xenstore.xswatch import xswatch
    1.11 @@ -113,10 +114,10 @@ class DevController:
    1.12                      raise VmError("Device %s is already connected." % dev_str)
    1.13  
    1.14                  if count == 0:
    1.15 -                    log.debug('DevController: writing %s to %s.', str(front),
    1.16 -                              frontpath)
    1.17 -                    log.debug('DevController: writing %s to %s.', str(back),
    1.18 -                              backpath)
    1.19 +                    log.debug('DevController: writing %s to %s.',
    1.20 +                              str(front), frontpath)
    1.21 +                    log.debug('DevController: writing %s to %s.',
    1.22 +                              str(xen.xend.XendConfig.scrub_password(back)), backpath)
    1.23                  elif count % 50 == 0:
    1.24                      log.debug(
    1.25                        'DevController: still waiting to write device entries.')