diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-15 14:09:03 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-09-17 14:16:19 +0200 |
commit | 0cca1a918b858b37484c571a9a989e2d06eeccae (patch) | |
tree | 8c93b3f1f99e936dd1442c2c69a3a60416fc2c2b /hw/i386/microvm.c | |
parent | 50aef1318166c2a5551d43fb99c5a517f54fcf3c (diff) |
x86: move cpu hotplug from pc to x86
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.
Move both plug and unplug to keep everything in one place, even
though microvm needs plug only.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200915120909.20838-16-kraxel@redhat.com
Diffstat (limited to 'hw/i386/microvm.c')
0 files changed, 0 insertions, 0 deletions