Re: [Xen-devel] [PATCH V4 8/8] xen/arm: make domain_max_vcpus return value according to vGIC version

2015-05-29 Thread Julien Grall
Hi Chen, On 28/05/15 11:15, Chen Baozi wrote: > From: Chen Baozi > > When a guest uses vGICv2, the maximum number of vCPU it can support > should not be as many as MAX_VIRT_CPUS, which is 128 at the moment. > So the domain_max_vcpus should return the value according to the vGIC > version the dom

Re: [Xen-devel] [PATCH V4 8/8] xen/arm: make domain_max_vcpus return value according to vGIC version

2015-05-28 Thread Andrew Cooper
On 28/05/15 11:15, Chen Baozi wrote: > From: Chen Baozi > > When a guest uses vGICv2, the maximum number of vCPU it can support > should not be as many as MAX_VIRT_CPUS, which is 128 at the moment. > So the domain_max_vcpus should return the value according to the vGIC > version the domain uses. >

[Xen-devel] [PATCH V4 8/8] xen/arm: make domain_max_vcpus return value according to vGIC version

2015-05-28 Thread Chen Baozi
From: Chen Baozi When a guest uses vGICv2, the maximum number of vCPU it can support should not be as many as MAX_VIRT_CPUS, which is 128 at the moment. So the domain_max_vcpus should return the value according to the vGIC version the domain uses. We didn't keep it as the old static inline form