On Tue, 7 Jul 2020 14:53:51 +0200
Gerd Hoffmann wrote:
> The cpu hotplug code handles the initialization of coldplugged cpus
> too, so it is needed even in case cpu hotplug is not supported.
>
> Move the code from pc to x86, so microvm can use it.
it's very convinient to have all hotplug handl
The cpu hotplug code handles the initialization of coldplugged cpus
too, so it is needed even in case cpu hotplug is not supported.
Move the code from pc to x86, so microvm can use it.
Signed-off-by: Gerd Hoffmann
---
include/hw/i386/x86.h | 6 ++
hw/i386/pc.c | 234 ++---