Skip to contentSkip to conversation

xend: Supply pass-through vslot to qemu-dm

PATCH New Simon Horman 1 participant 1 message Mar 25, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: Supply pass-through vslot to qemu-dm

This should be the final bit of plumbing on the xend side for this feature.

There is also an ioemu portion of this patch which I will post separately.

tools/python/xen/xend/server/pciif.py +1 -0
Index: xen-unstable.hg/tools/python/xen/xend/server/pciif.py
===================================================================
@@ -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 != "":