Brice Goglin, le Tue 12 Apr 2011 14:10:33 +0200, a écrit :
> * pci:0000:00:00.0 or pci:00:00.0 for a given PCI device

I believe we can make the function number optional too.

> * pci:aaaa:bbbb:c for the c-th PCI device with vendor ID aaaa and device
> ID bbbb

:c being optional if there is only one of those.

> It's actually the first time we select objects on something different
> than just a type or a depth and some indexes. So we could introduce a
> new syntax here. For instance:
>    <type>[attributename=attributevalue,...]:index
>    <type>[attributename=attributevalue,...]:firstindex:lastindex
>    <type>[attributename=attributevalue,...]:firstindex:amount
> Not sure it's worth doing this.

I'm not sure either. It may be overengineering. We need user input on
this.

Samuel

Reply via email to