From: Kouya Shimura Subject: [PATCH] xend: fix a typo in pciif Date: Thu, 9 Apr 2009 15:04:37 +0900 Message-ID: <7kocv65pmy.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="hirsBIOje1" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --hirsBIOje1 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit PciController.unwatchAerState() doesn't work. Signed-off-by: Kouya Shimura --hirsBIOje1 Content-Type: text/x-patch Content-Disposition: inline; filename="typo_pciif.patch" Content-Transfer-Encoding: 7bit diff -r 0e24e9674ded tools/python/xen/xend/server/pciif.py --- a/tools/python/xen/xend/server/pciif.py Wed Apr 08 19:13:04 2009 +0100 +++ b/tools/python/xen/xend/server/pciif.py Thu Apr 09 14:45:50 2009 +0900 @@ -454,7 +454,7 @@ class PciController(DevController): for (domain, bus, slot, func) in pci_dev_list: self.setupOneDevice(domain, bus, slot, func) wPath = '/local/domain/0/backend/pci/%u/0/aerState' % (self.getDomid()) - self.aerStatePath = xswatch(wPath, self._handleAerStateWatch) + self.aerStateWatch = xswatch(wPath, self._handleAerStateWatch) log.debug('pci: register aer watch %s', wPath) return @@ -590,7 +590,7 @@ class PciController(DevController): def destroyDevice(self, devid, force): DevController.destroyDevice(self, devid, True) log.debug('pci: unregister aer watch') - self.unwatchAerState + self.unwatchAerState() def unwatchAerState(self): """Remove the watch on the domain's aerState node, if any.""" --hirsBIOje1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --hirsBIOje1--