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

Re: [Xen-devel] [PATCH 1/4] xen/domain: Introduce domain_max_vcpus() helper and implement per arch



On 19/01/15 12:16, Simon Rowe wrote:
> On 19/01/15 11:21, Andrew Cooper wrote:
>> This allows the common XEN_DOMCTL_max_vcpus handler to loose some
>> x86-specific
>> architecture knowledge.
> Sp. "lose"
>>   +unsigned int domain_max_vcpus(const struct domain *d)
>> +{
>> +    return MAX_VIRT_CPUS;
>> +}
>> +
>>
>
> inline?
>
> Simon
>

I considered that but, while there is an asm-x86/domain.h, there is not
an asm-arm/domain.h which would be the logical location for it to live.

I can introduce an asm-arm/domain.h if the arm maintainers are happy.

~Andrew


_______________________________________________
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®.