[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: fix the pci BDF format string



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1241686998 -3600
# Node ID a1a0bd345acc99805ee534cf95a43e46402977f1
# Parent  fb3e1e84d8f459bba20066326e6e517de0c1c2dc
xend: fix the pci BDF format string

Fix the typo introduced by changeset 19446:2ef77b4bdf58.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r fb3e1e84d8f4 -r a1a0bd345acc tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed May 06 12:40:51 2009 +0100
+++ b/tools/python/xen/xm/main.py       Thu May 07 10:03:18 2009 +0100
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.