Re: [Qemu-devel] [PATCH 22/27] pc: set CPU APIC ID explicitly

2012-11-01 Thread Igor Mammedov
On Thu, 1 Nov 2012 12:30:39 -0200 Eduardo Habkost wrote: > On Thu, Nov 01, 2012 at 03:04:05PM +0100, Igor Mammedov wrote: > > On Wed, 24 Oct 2012 15:49:56 -0200 > > Eduardo Habkost wrote: > > > > > The PC code takes care of CPU topology, and CPU topology affect the CPU > > > APIC ID. So the PC

Re: [Qemu-devel] [PATCH 22/27] pc: set CPU APIC ID explicitly

2012-11-01 Thread Eduardo Habkost
On Thu, Nov 01, 2012 at 03:04:05PM +0100, Igor Mammedov wrote: > On Wed, 24 Oct 2012 15:49:56 -0200 > Eduardo Habkost wrote: > > > The PC code takes care of CPU topology, and CPU topology affect the CPU > > APIC ID. So the PC CPU initialization code needs to set the APIC ID > > explicitly. > > >

Re: [Qemu-devel] [PATCH 22/27] pc: set CPU APIC ID explicitly

2012-11-01 Thread Igor Mammedov
On Wed, 24 Oct 2012 15:49:56 -0200 Eduardo Habkost wrote: > The PC code takes care of CPU topology, and CPU topology affect the CPU > APIC ID. So the PC CPU initialization code needs to set the APIC ID > explicitly. > > By now, keep the existing behavior but create a apic_id_for_cpu() > function

[Qemu-devel] [PATCH 22/27] pc: set CPU APIC ID explicitly

2012-10-24 Thread Eduardo Habkost
The PC code takes care of CPU topology, and CPU topology affect the CPU APIC ID. So the PC CPU initialization code needs to set the APIC ID explicitly. By now, keep the existing behavior but create a apic_id_for_cpu() function that will be changed later to implement appropriate topology-dependent