Re: [Qemu-devel] [RFC 06/15] pc: set FW_CFG data based on APIC ID calculation

2012-08-13 Thread Eduardo Habkost
On Mon, Aug 13, 2012 at 09:52:43PM +0200, Igor Mammedov wrote: > On 08/07/2012 09:56 PM, Eduardo Habkost wrote: > >This changes FW_CFG_MAX_CPUS and FW_CFG_NUMA to use apic_id_for_cpu(), > >so the NUMA table can be based on the APIC IDs, instead of CPU index > >(SeaBIOS knows nothing about CPU index

Re: [Qemu-devel] [RFC 06/15] pc: set FW_CFG data based on APIC ID calculation

2012-08-13 Thread Igor Mammedov
On 08/07/2012 09:56 PM, Eduardo Habkost wrote: This changes FW_CFG_MAX_CPUS and FW_CFG_NUMA to use apic_id_for_cpu(), so the NUMA table can be based on the APIC IDs, instead of CPU index (SeaBIOS knows nothing about CPU indexes, just APIC IDs). Signed-off-by: Eduardo Habkost --- hw/pc.c

[Qemu-devel] [RFC 06/15] pc: set FW_CFG data based on APIC ID calculation

2012-08-07 Thread Eduardo Habkost
This changes FW_CFG_MAX_CPUS and FW_CFG_NUMA to use apic_id_for_cpu(), so the NUMA table can be based on the APIC IDs, instead of CPU index (SeaBIOS knows nothing about CPU indexes, just APIC IDs). Signed-off-by: Eduardo Habkost --- hw/pc.c | 23 --- target-i386/cpu