ia64/xen-unstable

changeset 19593:a1a0bd345acc

xend: fix the pci BDF format string

Fix the typo introduced by changeset 19446:2ef77b4bdf58.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 07 10:03:18 2009 +0100 (2009-05-07)
parents fb3e1e84d8f4
children bf946cc3008b
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed May 06 12:40:51 2009 +0100
     1.2 +++ b/tools/python/xen/xm/main.py	Thu May 07 10:03:18 2009 +0100
     1.3 @@ -2197,7 +2197,7 @@ def xm_pci_list_assignable_devices(args)
     1.4  
     1.5      devs =  server.xend.node.pciinfo()
     1.6   
     1.7 -    fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x:%(func)01x"
     1.8 +    fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x.%(func)01x"
     1.9      for x in devs:
    1.10          pci = parse_pci_info(x)
    1.11          print fmt_str % pci