Re: [PATCH v5 15/20] x86: move cpu plug from pc to x86

2020-07-10 Thread Igor Mammedov
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

[PATCH v5 15/20] x86: move cpu plug from pc to x86

2020-07-07 Thread Gerd Hoffmann
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 ++---