ia64/xen-unstable

changeset 1621:bc2ce6dc213c

bitkeeper revision 1.1026.1.7 (40e181a1MSs1SYetts2irHVdBHHmDQ)

Fix backend type detection.
author mjw@wray-m-3.hpl.hp.com
date Tue Jun 29 14:50:09 2004 +0000 (2004-06-29)
parents 716d743558b3
children 7a572a6fa64d
files tools/xen/lib/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/xen/lib/xend/XendDomainInfo.py	Tue Jun 29 14:45:21 2004 +0000
     1.2 +++ b/tools/xen/lib/xend/XendDomainInfo.py	Tue Jun 29 14:50:09 2004 +0000
     1.3 @@ -626,7 +626,7 @@ class XendDomainInfo:
     1.4          """Set configuration flags if the vm is a backend for netif of blkif.
     1.5          """
     1.6          for c in sxp.children(self.config, 'backend'):
     1.7 -            name = sxp.name(c)
     1.8 +            name = sxp.name(sxp.child0(c))
     1.9              if name == 'blkif':
    1.10                  self.blkif_backend = 1
    1.11              elif name == 'netif':