aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-07 10:03:18 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-07 10:03:18 +0100
commitca8d042e26e9b6e98e2b6bfcbba0c8025e135012 (patch)
treea2a60bdc2f0ee07936fa9898577e98e12beb34a1 /tools
parent605c6166fc7bf52d12305243a296e472eab557e4 (diff)
downloadxen-ca8d042e26e9b6e98e2b6bfcbba0c8025e135012.tar.gz
xen-ca8d042e26e9b6e98e2b6bfcbba0c8025e135012.tar.bz2
xen-ca8d042e26e9b6e98e2b6bfcbba0c8025e135012.zip
xend: fix the pci BDF format string
Fix the typo introduced by changeset 19446:2ef77b4bdf58. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xm/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py
index ae3bc5a914..a460bc8a3a 100644
--- a/tools/python/xen/xm/main.py
+++ b/tools/python/xen/xm/main.py
@@ -2197,7 +2197,7 @@ def xm_pci_list_assignable_devices(args):
devs = server.xend.node.pciinfo()
- fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x:%(func)01x"
+ fmt_str = "%(domain)04x:%(bus)02x:%(slot)02x.%(func)01x"
for x in devs:
pci = parse_pci_info(x)
print fmt_str % pci