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

2015-07-15 Thread Igor Mammedov
On Wed, 15 Jul 2015 09:12:48 +0530 Bharata B Rao wrote: > On Tue, Jul 14, 2015 at 5:17 PM, Igor Mammedov > wrote: > > On Tue, 14 Jul 2015 16:08:54 +0530 > > Bharata B Rao wrote: > > > >> On Thu, Jul 09, 2015 at 03:23:55PM +0200, Andreas Färber wrote: > >> > From: Bharata B Rao > >> > > >> > Cu

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

2015-07-14 Thread Bharata B Rao
On Tue, Jul 14, 2015 at 5:17 PM, Igor Mammedov wrote: > On Tue, 14 Jul 2015 16:08:54 +0530 > Bharata B Rao wrote: > >> On Thu, Jul 09, 2015 at 03:23:55PM +0200, Andreas Färber wrote: >> > From: Bharata B Rao >> > >> > Currently CPUState::cpu_index is monotonically increasing and a newly >> > cre

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

2015-07-14 Thread Igor Mammedov
On Tue, 14 Jul 2015 16:08:54 +0530 Bharata B Rao wrote: > On Thu, Jul 09, 2015 at 03:23:55PM +0200, Andreas Färber wrote: > > 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 >

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

2015-07-14 Thread Bharata B Rao
On Thu, Jul 09, 2015 at 03:23:55PM +0200, Andreas Färber wrote: > 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 i