Re: [Qemu-devel] [PATCH v3 2/3] cpus: Convert cpu_index into a bitmap

2015-05-28 Thread Peter Crosthwaite
On Wed, May 20, 2015 at 10:02 PM, Bharata B Rao wrote: > Currently CPUState.cpu_index is monotonically increasing and a newly > created CPU always gets the next higher index. The next available > index is calculated by counting the existing number of CPUs. This is > fine as long as we only add CPU

Re: [Qemu-devel] [PATCH v3 2/3] cpus: Convert cpu_index into a bitmap

2015-05-24 Thread David Gibson
On Thu, May 21, 2015 at 10:32:07AM +0530, Bharata B Rao wrote: > Currently CPUState.cpu_index is monotonically increasing and a newly > created CPU always gets the next higher index. The next available > index is calculated by counting the existing number of CPUs. This is > fine as long as we only

Re: [Qemu-devel] [PATCH v3 2/3] cpus: Convert cpu_index into a bitmap

2015-05-21 Thread Igor Mammedov
On Thu, 21 May 2015 10:32:07 +0530 Bharata B Rao wrote: > Currently CPUState.cpu_index is monotonically increasing and a newly > created CPU always gets the next higher index. The next available > index is calculated by counting the existing number of CPUs. This is > fine as long as we only add C

[Qemu-devel] [PATCH v3 2/3] cpus: Convert cpu_index into a bitmap

2015-05-20 Thread Bharata B Rao
Currently CPUState.cpu_index is monotonically increasing and a newly created CPU always gets the next higher index. The next available index is calculated by counting the existing number of CPUs. This is fine as long as we only add CPUs, but there are architectures which are starting to support CPU