[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [v8][PATCH 02/17] introduce XEN_DOMCTL_set_rdm



>>> On 09.12.14 at 03:38, <tiejun.chen@xxxxxxxxx> wrote:
> On 2014/12/8 16:43, Jan Beulich wrote:
>>>>> On 08.12.14 at 07:06, <tiejun.chen@xxxxxxxxx> wrote:
>>> I take a quick look at this but looks we have no this exact value that
>>> we can get directly.
>>
>> You need some upper bound. Whether you introduce a properly
> 
> In theory, we may have at most the number, domain(16bit) x bus(8bit) x 
> device(5bit) x function(3bit), 2^16 x 2^8 x 2^5 x 2^3 = 0x1000000, so 
> could we define a macro like this,
> 
> #define PCI_DEVICES_NUM_UP 0x1000000

16+8+5+3 = 32 for me. And an upper bound of 4G is surely not
useful here in any way.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.