mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xend: fix the pci BDF format string
Fix the typo introduced by changeset 19446:2ef77b4bdf58. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
This commit is contained in:
1 parent
605c6166fc
commit
ca8d042e26
1 file changed
+1
-1
@@ -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
|
||||
|
||||