Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-05-07 Thread Eduardo Habkost
On Thu, May 07, 2015 at 03:05:45PM +0530, Bharata B Rao wrote: > On Wed, Mar 18, 2015 at 11:50:04AM +0530, Bharata B Rao wrote: > > On Tue, Mar 17, 2015 at 11:56:04AM +0100, Andreas Färber wrote: > > > Am 17.03.2015 um 09:39 schrieb Bharata B Rao: > > > > On Tue, Mar 17, 2015 at 07:56:41AM +0100, A

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-05-07 Thread Bharata B Rao
On Wed, Mar 18, 2015 at 11:50:04AM +0530, Bharata B Rao wrote: > On Tue, Mar 17, 2015 at 11:56:04AM +0100, Andreas Färber wrote: > > Am 17.03.2015 um 09:39 schrieb Bharata B Rao: > > > On Tue, Mar 17, 2015 at 07:56:41AM +0100, Alexander Graf wrote: > > >> > > >> > > >> On 13.03.15 12:56, Bharata B

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-19 Thread Eduardo Habkost
On Wed, Mar 18, 2015 at 11:50:04AM +0530, Bharata B Rao wrote: > On Tue, Mar 17, 2015 at 11:56:04AM +0100, Andreas Färber wrote: > > Am 17.03.2015 um 09:39 schrieb Bharata B Rao: > > > On Tue, Mar 17, 2015 at 07:56:41AM +0100, Alexander Graf wrote: > > >> > > >> > > >> On 13.03.15 12:56, Bharata B

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-18 Thread David Gibson
On Wed, Mar 18, 2015 at 12:04:04PM +0530, Bharata B Rao wrote: > On Wed, Mar 18, 2015 at 11:49:59AM +1100, David Gibson wrote: > > On Fri, Mar 13, 2015 at 05:26:36PM +0530, Bharata B Rao wrote: > > > From: Bharata B Rao > > > > > > Currently CPUState.cpu_index is monotonically increasing and a ne

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Bharata B Rao
On Wed, Mar 18, 2015 at 11:49:59AM +1100, David Gibson wrote: > On Fri, Mar 13, 2015 at 05:26:36PM +0530, Bharata B Rao 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] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Bharata B Rao
On Tue, Mar 17, 2015 at 11:51:36AM +0100, Andreas Färber wrote: > Am 13.03.2015 um 12:56 schrieb Bharata B Rao: > > 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 c

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Bharata B Rao
On Tue, Mar 17, 2015 at 11:56:04AM +0100, Andreas Färber wrote: > Am 17.03.2015 um 09:39 schrieb Bharata B Rao: > > On Tue, Mar 17, 2015 at 07:56:41AM +0100, Alexander Graf wrote: > >> > >> > >> On 13.03.15 12:56, Bharata B Rao wrote: > >>> From: Bharata B Rao > >>> > >>> Currently CPUState.cpu_in

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread David Gibson
On Fri, Mar 13, 2015 at 05:26:36PM +0530, Bharata B Rao 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 is

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Andreas Färber
Am 17.03.2015 um 09:39 schrieb Bharata B Rao: > On Tue, Mar 17, 2015 at 07:56:41AM +0100, Alexander Graf wrote: >> >> >> On 13.03.15 12:56, Bharata B Rao wrote: >>> From: Bharata B Rao >>> >>> Currently CPUState.cpu_index is monotonically increasing and a newly >>> created CPU always gets the next

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Andreas Färber
Am 13.03.2015 um 12:56 schrieb Bharata B Rao: > 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

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-17 Thread Bharata B Rao
On Tue, Mar 17, 2015 at 07:56:41AM +0100, Alexander Graf wrote: > > > On 13.03.15 12:56, Bharata B Rao 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 c

Re: [Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-16 Thread Alexander Graf
On 13.03.15 12:56, Bharata B Rao 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 is > fine as long as we

[Qemu-devel] [RFC v0 PATCH] cpus: Convert cpu_index into a bitmap

2015-03-13 Thread Bharata B Rao
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 s