From: mjw@wray-m-3.hpl.hp.com Date: Tue, 29 Jun 2004 14:50:09 +0000 (+0000) Subject: bitkeeper revision 1.1026.1.7 (40e181a1MSs1SYetts2irHVdBHHmDQ) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18092^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4db27a4b7ac9a8b0a3f2aa25a7795ff8731281b3;p=xen.git bitkeeper revision 1.1026.1.7 (40e181a1MSs1SYetts2irHVdBHHmDQ) Fix backend type detection. --- diff --git a/tools/xen/lib/xend/XendDomainInfo.py b/tools/xen/lib/xend/XendDomainInfo.py index 50fcf26fe2..a7e5aa3b2f 100644 --- a/tools/xen/lib/xend/XendDomainInfo.py +++ b/tools/xen/lib/xend/XendDomainInfo.py @@ -626,7 +626,7 @@ class XendDomainInfo: """Set configuration flags if the vm is a backend for netif of blkif. """ for c in sxp.children(self.config, 'backend'): - name = sxp.name(c) + name = sxp.name(sxp.child0(c)) if name == 'blkif': self.blkif_backend = 1 elif name == 'netif':