Simon Horman
2009-Mar-25 03:45 UTC
[Xen-devel] [patch] 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.
Signed-off-by: Simon Horman <horms@verge.net.au>
Index: xen-unstable.hg/tools/python/xen/xend/server/pciif.py
==================================================================---
xen-unstable.hg.orig/tools/python/xen/xend/server/pciif.py 2009-03-24
21:34:51.000000000 +1100
+++ xen-unstable.hg/tools/python/xen/xend/server/pciif.py 2009-03-24
22:57:49.000000000 +1100
@@ -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 != "":
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel