From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 0 of 4] Add commands to automatically prep devices for pass-through Date: Thu, 10 May 2012 12:15:33 -0400 Message-ID: <20120510161533.GC3215@phenom.dumpdata.com> References: <1336560543.25514.74.camel@zakaz.uk.xensource.com> <4FAA4F03.600@eu.citrix.com> <1336564773.25514.101.camel@zakaz.uk.xensource.com> <4FAA7504.5030103@eu.citrix.com> <1336646320.7098.62.camel@zakaz.uk.xensource.com> <686683228.20120510161211@eikelenboom.it> <1336659417.14220.4.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1336659417.14220.4.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: George Dunlap , Sander Eikelenboom , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > > > Fully hiding the device from dom0 drivers generally seems like it is > > > always better. That way the first driver to try and touch the hardware > > > is the one inside the domU. This avoids issues with dom0 drivers setting > > > stuff up but not tearing it down in a way that domU can cope with and > > > makes the use of hardware which doesn't support FLR more reliable etc. > > > > Haven't checked it (haven't got the time right now) but: > > Is using wildcards in the BDF's on the commandline supported already > > (like the ones supported in the config files for domains) > > Based on a quick scan of the code it doesn't appear so, I don't maintain > PCI backthough so there might be something in the pipeline. > > > I tend to have quite long commandlines to hide a pci-e card with 8 > > functions (needed to specify 8 BDF's seperatly) for pci passthrough, > > would be nice if one could just specify 09:00.* for example. > > It sounds useful to me. Patches are most welcome :-)