From: Simon Horman Subject: [patch] xend: Supply pass-through vslot to qemu-dm Date: Wed, 25 Mar 2009 14:45:56 +1100 Message-ID: <20090325034555.GA6157@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian Jackson , Keir Fraser List-Id: xen-devel@lists.xenproject.org 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 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 != "":