On 03/07/19 01:39, Nadav Amit wrote: >> On Jul 2, 2019, at 11:28 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: >> >> On 02/07/19 19:45, Nadav Amit wrote: >>>>> I know you are not “serious”, but I’ll use this opportunity for a small >>>>> clarification. You do need to provide the real number of CPUs as otherwise >>>>> things will fail. I do not use cpuid, as my machine, for example has two >>>>> sockets. Decoding the ACPI tables is the right way, but I was too lazy to >>>>> implement it. >>>> What about the mptables, too? >>> If you mean to reuse mptable.c from [1] or [2] - I can give it a shot. I am >>> not about to write my own parser. >> >> Sure. > > So mptable logic works on a couple of my machines, but not all. Can you send the patch anyway? I can use it as a start for writing a MADT parser. Paolo