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' Signed-off-by: Igor Mammedov <imamm...@redhat.com>