Re: [Qemu-devel] [PATCH v2 4/4] pc: Refuse max_cpus if it results in too large APIC ID

2014-03-12 Thread Eduardo Habkost
On Wed, Mar 12, 2014 at 11:07:38PM +0100, Laszlo Ersek wrote: > comments below > > On 03/12/14 19:28, Eduardo Habkost wrote: > > This changes the PC initialization code to reject max_cpus if it results > > in an APIC ID that's too large, instead of aborting or erroring out when > > it is already t

Re: [Qemu-devel] [PATCH v2 4/4] pc: Refuse max_cpus if it results in too large APIC ID

2014-03-12 Thread Laszlo Ersek
comments below On 03/12/14 19:28, Eduardo Habkost wrote: > This changes the PC initialization code to reject max_cpus if it results > in an APIC ID that's too large, instead of aborting or erroring out when > it is already too late. > > Currently there are two limits we need to check: the CPU hot

[Qemu-devel] [PATCH v2 4/4] pc: Refuse max_cpus if it results in too large APIC ID

2014-03-12 Thread Eduardo Habkost
This changes the PC initialization code to reject max_cpus if it results in an APIC ID that's too large, instead of aborting or erroring out when it is already too late. Currently there are two limits we need to check: the CPU hotplug APIC ID limit (due to the AcpiCpuHotplug.sts array length), and