Add CPU hot-plug to qemu (pc only). v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 42 repliesIn review
v2 changes from the cover letter
- small fixes in [1/7], change list in the patch
- got rid of cpu_set command
- converted pc cpu to qdev device, now it's possible to add cpu using monitor command 'device_add'
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Introduce a new bus "ICC" to connect APICMakefile.objs hw/ hw/ +5 more | +196 | 12 replies | |
| 2/7 | Convert pc cpu to qdevhw/ target-i386/ target-i386/ | +73 | 23 replies | |
| 3/7 | cleanup: get rid of pc_new_cpuhw/ | +12 | 0 replies | |
| 4/7 | cleanup: remove redundant pc_cpu_resethw/ target-i386/ | +3 | 1 reply | |
| 5/7 | Set default 'model' property if it wasn't specified yet.hw/ | +8 | 1 reply | |
| 6/7 | Prepare ACPI infrastructure for cpu hot-plug in acpi_piix4hw/ hw/ | +64 | 1 reply | |
| 7/7 | Implement cpu hot-add using device_add monitor commandhw/ | +11 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/7] Add CPU hot-plug to qemu (pc only). v2
Previous version was titled "Make vcpu hotplug work for qemu"
Why it is needed?
Feature is implemented by many other solutions and seems to be in high demand from users. For example it's possible to do hot-plug with xen tool stack or with kvm using qemu-kvm+some voodoo (i.e. lost patches). But it's not possible to do it with mainline qemu, and this is attempt to start fixing it.
This patch-set lays basic infrastructure for cpu hot-plug and introduces only cpu hot-add for now. This will provide skeleton for cpu hot-unplug patches that are posted against qemu-kvm.
v2 changes:
- small fixes in [1/7], change list in the patch
- got rid of cpu_set command
- converted pc cpu to qdev device, now it's possible to add cpu using monitor command 'device_add'