On 03/13/2012 01:18 AM, Kevin O'Connor wrote:
On Sat, Mar 10, 2012 at 12:47:25PM +0100, Igor Mammedov wrote:
- Halt if number of started cpus are more then expected
- Allow bios to detect if qemu has cpus status map for acpi hotplug
- Take in account hot(un)plugged cpus on reboot
Currently, the seabios code in acpi.c and mptable.c assume the first CountCPUs of MaxCountCPUs are on. Your patches update the reboot cpu detection, but they don't update the reporting of online cpus in the bios tables that are subsequently built.
I'm planing on fixing tables creation later when hot-plugging consecutive cpus is in upstream qemu and I'll be working on nonconsecutive cpu (un)plug.
Goal of this patches is to fix hang after reboot if cpu(s) were hot-pluged.
-Kevin