ia64/xen-unstable

changeset 19529:90d5fb694620

xend: fix a typo in pciif so PciController.unwatchAerState() works

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 09 08:45:32 2009 +0100 (2009-04-09)
parents 0ed8616b99d6
children 0b9b6d5a61c1
files tools/python/xen/xend/server/pciif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/pciif.py	Thu Apr 09 08:41:28 2009 +0100
     1.2 +++ b/tools/python/xen/xend/server/pciif.py	Thu Apr 09 08:45:32 2009 +0100
     1.3 @@ -454,7 +454,7 @@ class PciController(DevController):
     1.4          for (domain, bus, slot, func) in pci_dev_list:
     1.5              self.setupOneDevice(domain, bus, slot, func)
     1.6          wPath = '/local/domain/0/backend/pci/%u/0/aerState' % (self.getDomid())
     1.7 -        self.aerStatePath = xswatch(wPath, self._handleAerStateWatch)
     1.8 +        self.aerStateWatch = xswatch(wPath, self._handleAerStateWatch)
     1.9          log.debug('pci: register aer watch %s', wPath)
    1.10          return
    1.11  
    1.12 @@ -590,7 +590,7 @@ class PciController(DevController):
    1.13      def destroyDevice(self, devid, force):
    1.14          DevController.destroyDevice(self, devid, True)
    1.15          log.debug('pci: unregister aer watch')
    1.16 -        self.unwatchAerState
    1.17 +        self.unwatchAerState()
    1.18  
    1.19      def unwatchAerState(self):
    1.20          """Remove the watch on the domain's aerState node, if any."""