]> xenbits.xensource.com Git - xen.git/commitdiff
xend: Supply pass-through vslot to qemu-dm
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:24:13 +0000 (11:24 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 31 Mar 2009 10:24:13 +0000 (11:24 +0100)
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/server/pciif.py

index e6ba4bc695a8ba2d4fe45666670c469fd7e26edc..1b183884e306284feef32df6c1a7381297de8b1f 100644 (file)
@@ -90,6 +90,7 @@ class PciController(DevController):
             back['dev-%i' % pcidevid] = "%04x:%02x:%02x.%01x" % \
                                         (domain, bus, slot, func)
             back['uuid-%i' % pcidevid] = pci_config.get('uuid', '')
+            back['vslot-%i' % pcidevid] = "%02x" % vslot
             pcidevid += 1
 
         if vslots != "":