This series fixes couple of issues with recent topology related code. 1. Fix uninitialized memory with -device and CPU hotplug 2. Simplify CPUID_8000_001E to generalize the support for higher number of cores and nodes
Here are the threads discussing the issue. https://lore.kernel.org/qemu-devel/20200602175212.gh577...@habkost.net/ https://lore.kernel.org/qemu-devel/20200602175212.gh577...@habkost.net/ --- Babu Moger (2): hw/386: Fix uninitialized memory with -device and CPU hotplug i386: Simplify CPUID_8000_001E for AMD hw/i386/pc.c | 2 + include/hw/i386/topology.h | 11 ++++++ target/i386/cpu.c | 78 +++++++++++++++++++++----------------------- 3 files changed, 50 insertions(+), 41 deletions(-) --