From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <nico@emutex.com>
Received: from smtp.digiweb.ie (smtp2.digiweb.ie [83.147.160.14])
 by dpdk.org (Postfix) with ESMTP id 87D367F18
 for <dev@dpdk.org>; Fri,  7 Nov 2014 15:19:13 +0100 (CET)
Received: from statler.emutex.com (unknown [92.51.199.138])
 by smtp.digiweb.ie (Postfix) with ESMTP id 6B9D52901A5;
 Fri,  7 Nov 2014 14:28:43 +0000 (GMT)
Received: from [10.10.64.102]
 by statler.emutex.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <nico@emutex.com>)
 id 1XmkWp-00014b-AF; Fri, 07 Nov 2014 14:28:43 +0000
Message-ID: <545CD710.4040406@emutex.com>
Date: Fri, 07 Nov 2014 14:28:32 +0000
From: Nicolas Pernas Maradei <nico@emutex.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Neil Horman <nhorman@tuxdriver.com>
References: <545CBCE0.2030806@emutex.com> <2085190.a5sr9ou3P7@xps13>
 <545CC581.40309@emutex.com>
 <20141107132618.GD25469@hmsreliant.think-freely.org>
 <545CCBA8.7030900@emutex.com>
 <20141107140201.GE25469@hmsreliant.think-freely.org>
In-Reply-To: <20141107140201.GE25469@hmsreliant.think-freely.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] White listing a virtual device
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Nov 2014 14:19:13 -0000

On 07/11/14 14:02, Neil Horman wrote:
> Ah, you want the -w option then, it still appears in the short options list in
> my tree. That sets up the option parsing for all pci devices to require
> whitelisting to be initalized.  virtual devices are exempt from this process
> because declaring them with --vdev implicitly means you want to use them.
>
> Neil

Hi Neil,

Thanks for your reply. The -w option is the same as --pci-whitelist 
mentioned in my first email. Declaring a virtual device with --vdev 
means that I want to use it but there doesn't seem to be a way to say 
that I want to use only that device. Clearly the white list option is 
the way to specify this but if virtual devices are excluded from 
-w/--pci-whitelist you can't only white list the virtual devices.

I want to be able to have the same command line arguments across several 
systems under test without having to know where the physical devices are 
(to black list them).

My issue is not that I don't want to black list the physical devices 
it's just that I want to white list the virtual ones. I don't see why 
that option is not available.

Thanks,
Nico.