Features/CPUHotplug

From QEMU
Revision as of 13:34, 9 November 2012 by AF (talk | contribs) (Filled in commit ID for APIC init move)

Summary

This feature is about allowing CPU hotplug in QEMU.

Owner

  • Name: Igor Mammedov
  • Email: imammedo@redhat.com

Detailed Summary

It was proposed to use device-add/device-del interface for hot-plugging CPUs instead of using it's own interface. For this to work CPUs should become child of Device and do not require external calls for creating or initializing it.

Roadmap for QEMU 1.3

X86CPU

  • CPU cleanups. Move CPU internals inside CPU object
  * move tcg init code CPU. commits d65e98, 84e3b60, eeec69d, 130a038, 
  * move CPU reset from board level into CPU. commits 65dee3805, dd673288
  * move APIC creation/initialization into CPU object. commit bdeec802170d5dc9f0f8a01235c3488dca3ff83b
  • CPU as Device
  * needed for converting "CPUID features to properties"
  * allows to use X86CPU with device_add command after CPU subclasses is
    implemented.
  * http://www.mail-archive.com/qemu-devel@nongnu.org/msg136505.html
  • CPUID features to properties
  * ability to set/get features using common FEAT_FOO=VAL property interfaces
  * needed for conversion from CPU models to CPU subclasses.
  * obsolete series with dynamic properties
    http://comments.gmane.org/gmane.comp.emulators.qemu/165728
    rewrite to static properties in progress ...
  • CPU models as CPU subclasses
  * should provide complete QOM object interface to CPU subclasses.
  * gives ability to create/initialize CPUs using CPU subclass name without
    any ad-hoc calls.