Hi Qian,
On Sun, Aug 13, 2023 at 06:49:40PM +0800, Wen, Qian wrote:
[snip]
also perhaps double check if we could do induce similar overflow
tweaking other -smp properties (todo for another patch[es] if there are such places).
I have a check, the CPUID.0x4:EAX[31:26] indicates the Maximum number of addressable IDs for processor cores in the physical package.
If we launch over 64 cores VM, the 6-bits field will also overflow. I will add the following fix to patch2 in v3.
Good catch!
Just discussion, I find if we use APIC ID offset to encode 0x4, then it
seems no need for an explicit check [1], right?
[1]: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg00027.html