Re: [Qemu-devel] [PULL v2 05/22] cpu: Convert cpu_index into a bitmap

2015-07-08 Thread Peter Crosthwaite
On Wed, Jul 8, 2015 at 8:16 PM, Bharata B Rao wrote: > On Wed, Jul 08, 2015 at 09:07:30PM +0200, Andreas Färber wrote: >> Am 07.07.2015 um 19:16 schrieb Andreas Färber: >> > From: Bharata B Rao >> > >> > Currently CPUState::cpu_index is monotonically increasing and a newly >> > created CPU always

Re: [Qemu-devel] [PULL v2 05/22] cpu: Convert cpu_index into a bitmap

2015-07-08 Thread Bharata B Rao
On Wed, Jul 08, 2015 at 09:07:30PM +0200, Andreas Färber wrote: > Am 07.07.2015 um 19:16 schrieb Andreas Färber: > > From: 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

Re: [Qemu-devel] [PULL v2 05/22] cpu: Convert cpu_index into a bitmap

2015-07-08 Thread Andreas Färber
Am 07.07.2015 um 19:16 schrieb Andreas Färber: > From: 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

[Qemu-devel] [PULL v2 05/22] cpu: Convert cpu_index into a bitmap

2015-07-07 Thread Andreas Färber
From: 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