ia64/xen-unstable

changeset 9577:a97fe1ca116e

Lookup backend by name _or_id_. This is important for domain 0, for example!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Apr 03 23:57:42 2006 +0100 (2006-04-03)
parents b3751c780aa5
children 95552dc317cf
files tools/python/xen/xend/server/DevController.py
line diff
     1.1 --- a/tools/python/xen/xend/server/DevController.py	Mon Apr 03 18:32:43 2006 +0100
     1.2 +++ b/tools/python/xen/xend/server/DevController.py	Mon Apr 03 23:57:42 2006 +0100
     1.3 @@ -90,7 +90,7 @@ class DevController:
     1.4          if backdom_name is None:
     1.5              backdom = xen.xend.XendDomain.PRIV_DOMAIN
     1.6          else:
     1.7 -            bd = xd.domain_lookup_by_name_nr(backdom_name)
     1.8 +            bd = xd.domain_lookup_by_name_or_id_nr(backdom_name)
     1.9              backdom = bd.getDomid()
    1.10          count = 0
    1.11          while True: