qemu/include/hw
Gerd Hoffmann 0cca1a918b 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
2020-09-17 14:16:19 +02:00
..
acpi acpi: move acpi_dsdt_add_power_button() to ged 2020-09-17 14:16:19 +02:00
adc Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm hw/arm/npcm7xx: add board setup stub for CPU and UART clocks 2020-09-14 14:24:59 +01:00
audio qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
block Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
char This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
core Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cpu Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cris sysbus: Convert to sysbus_realize() etc. with Coccinelle 2020-06-15 22:05:28 +02:00
display Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
dma This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
firmware
gpio This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
hyperv Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
i2c Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
i386 x86: move cpu hotplug from pc to x86 2020-09-17 14:16:19 +02:00
ide ahci: Rename ICH_AHCI to ICH9_AHCI 2020-09-09 13:20:22 -04:00
input Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
intc This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
ipack Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
ipmi Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
isa pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 2020-09-09 13:20:22 -04:00
kvm
lm32
m68k Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mem hw/mem: Stubbed out NPCM7xx Memory Controller model 2020-09-14 14:24:59 +01:00
mips Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
misc hw/misc: Add NPCM7xx Clock Controller device model 2020-09-14 14:24:58 +01:00
net This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
nubus Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
nvram hw/nvram: NPCM7xx OTP device model 2020-09-14 14:24:59 +01:00
pci Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pci-bridge Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pci-host sabre: Rename SABRE_DEVICE to SABRE 2020-09-09 13:20:22 -04:00
ppc Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
rdma Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
riscv This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
rtc Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
rx Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
s390x ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE 2020-09-09 13:20:22 -04:00
scsi esp: Rename ESP_STATE to ESP 2020-09-09 13:20:22 -04:00
sd This PR includes multiple fixes and features for RISC-V: 2020-09-13 20:29:35 +01:00
semihosting
sh4 hw/sh4: Extract timer definitions to 'hw/timer/tmu012.h' 2020-06-22 18:37:12 +02:00
southbridge Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
sparc Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
ssi hw/ssi: NPCM7xx Flash Interface Unit device model 2020-09-14 14:24:59 +01:00
timer hw/timer: Add NPCM7xx Timer device model 2020-09-14 14:24:58 +01:00
tricore
unicore32
usb Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vfio Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
virtio virtio-gpu: make virtio_gpu_ops static 2020-09-15 14:11:49 +02:00
watchdog Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
xen Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
xtensa
boards.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
clock.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
elf_ops.h hw/elf_ops: Do not ignore write failures when loading ELF 2020-06-10 12:10:23 -04:00
fw-path-provider.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
hotplug.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
hw.h
ide.h
irq.h include/hw/irq.h: New function qemu_irq_is_connected() 2020-08-03 17:55:03 +01:00
loader-fit.h
loader.h
nmi.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
or-irq.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pcmcia.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
platform-bus.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
ptimer.h
qdev-clock.h hw/qdev-clock: Avoid calling qdev_connect_clock_in after DeviceRealize 2020-08-28 10:02:46 +01:00
qdev-core.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
qdev-dma.h
qdev-properties.h qdev: Document qdev_prop_set_drive_err() return value 2020-08-19 10:44:29 -04:00
register.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
registerfields.h hw/registerfields: Prefix local variables with underscore in macros 2020-05-27 11:23:07 -07:00
resettable.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stream.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
sysbus.h Use OBJECT_DECLARE_TYPE where possible 2020-09-09 09:27:11 -04:00
usb.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vmstate-if.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00