WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xend: fix the pci BDF format string

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xend: fix the pci BDF format string
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 7 May 2009 10:55:40 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Delivery-date: Wed, 06 May 2009 19:57:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnOv05pe9jWv+otRM22YKP9nbZTBw==
Thread-topic: [PATCH] xend: fix the pci BDF format string
Fix the typo introduced by changeset 19446: 2ef77b4bdf58.

Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>

diff -r fb3e1e84d8f4 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:45:47 2009 +0800
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel