ia64/xen-unstable

changeset 13626:9e4f61bb200e

[XEND] Fix bad patch merge for XendMonitor

Signed-off-by: Alastair Tse <atse@xensource.com>
author Alastair Tse <atse@xensource.com>
date Thu Jan 25 17:00:18 2007 +0000 (2007-01-25)
parents e19f9d6a2ff5
children fde9e1d474b7
files tools/python/xen/xend/XendMonitor.py
line diff
     1.1 --- a/tools/python/xen/xend/XendMonitor.py	Thu Jan 25 16:58:21 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendMonitor.py	Thu Jan 25 17:00:18 2007 +0000
     1.3 @@ -311,18 +311,18 @@ class XendMonitor(threading.Thread):
     1.4                      self.pifs_util[pifid] = (rx_util, tx_util)
     1.5                      self.pifs[pifid] = stats
     1.6  
     1.7 -                for domid in self.domain_vcpus_util.keys():
     1.8 +                for domid in self._domain_vcpus_util.keys():
     1.9                      if domid not in active_domids:
    1.10 -                        del self.domain_vcpus_util[domid]
    1.11 -                        del self.domain_vcpus[domid]
    1.12 -                for domid in self.domain_vifs_util.keys():
    1.13 +                        del self._domain_vcpus_util[domid]
    1.14 +                        del self._domain_vcpus[domid]
    1.15 +                for domid in self._domain_vifs_util.keys():
    1.16                      if domid not in active_domids:
    1.17 -                        del self.domain_vifs_util[domid]
    1.18 -                        del self.domain_vifs[domid]
    1.19 -                for domid in self.domain_vbds_util.keys():
    1.20 +                        del self._domain_vifs_util[domid]
    1.21 +                        del self._domain_vifs[domid]
    1.22 +                for domid in self._domain_vbds_util.keys():
    1.23                      if domid not in active_domids:
    1.24 -                        del self.domain_vbds_util[domid]
    1.25 -                        del self.domain_vbds[domid]
    1.26 +                        del self._domain_vbds_util[domid]
    1.27 +                        del self._domain_vbds[domid]
    1.28  
    1.29              finally:
    1.30                  self.lock.release()