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 -                    if domid not in active_domids:
     1.9 -                        del self.domain_vcpus_util[domid]
    1.10 -                        del self.domain_vcpus[domid]
    1.11 -                for domid in self.domain_vifs_util.keys():
    1.12 +                for domid in self._domain_vcpus_util.keys():
    1.13                      if domid not in active_domids:
    1.14 -                        del self.domain_vifs_util[domid]
    1.15 -                        del self.domain_vifs[domid]
    1.16 -                for domid in self.domain_vbds_util.keys():
    1.17 +                        del self._domain_vcpus_util[domid]
    1.18 +                        del self._domain_vcpus[domid]
    1.19 +                for domid in self._domain_vifs_util.keys():
    1.20                      if domid not in active_domids:
    1.21 -                        del self.domain_vbds_util[domid]
    1.22 -                        del self.domain_vbds[domid]
    1.23 +                        del self._domain_vifs_util[domid]
    1.24 +                        del self._domain_vifs[domid]
    1.25 +                for domid in self._domain_vbds_util.keys():
    1.26 +                    if domid not in active_domids:
    1.27 +                        del self._domain_vbds_util[domid]
    1.28 +                        del self._domain_vbds[domid]
    1.29  
    1.30              finally:
    1.31                  self.lock.release()