Features/CPUHotplug: Difference between revisions

From QEMU
(Filled in commit ID for APIC init move)
Line 16: Line 16:
== X86CPU ==
== X86CPU ==
* CPU cleanups. Move CPU internals inside CPU object
* CPU cleanups. Move CPU internals inside CPU object
  * move tcg init code CPU. commits d65e98, 84e3b60, eeec69d, 130a038,  
** move tcg init code CPU. commits d65e98, 84e3b60, eeec69d, 130a038,  
  * move CPU reset from board level into CPU. commits 65dee3805, dd673288
** move CPU reset from board level into CPU. commits 65dee3805, dd673288
  * move APIC creation/initialization into CPU object. commit [http://git.qemu.org/?p=qemu.git;a=commit;h=bdeec802170d5dc9f0f8a01235c3488dca3ff83b bdeec802170d5dc9f0f8a01235c3488dca3ff83b]
** move APIC creation/initialization into CPU object. commit [ bdeec8021]
* CPU as Device
 
  * needed for converting "CPUID features to properties"
* CPU as Device [commit: 961f839]
  * allows to use X86CPU with device_add command after CPU subclasses is
** needed for converting "CPUID features to properties"
    implemented.
** allows to use device_add command after CPU subclasses is implemented.
  * http://www.mail-archive.com/qemu-devel@nongnu.org/msg136505.html
 
* CPUID features to properties
* CPUID features to properties
  * ability to set/get features using common FEAT_FOO=VAL property interfaces
** ability to set/get features using common FEAT_FOO=VAL property interfaces
  * needed for conversion from CPU models to CPU subclasses.
** 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
* CPU models as CPU subclasses
  * should provide complete QOM object interface to CPU subclasses.
** should provide complete QOM object interface to CPU subclasses.
  * gives ability to create/initialize CPUs using CPU subclass name without
** gives ability to create/initialize CPUs using CPU subclass name without any ad-hoc calls.
    any ad-hoc calls.

Revision as of 14:19, 14 January 2013

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 [ bdeec8021]
  • CPU as Device [commit: 961f839]
    • needed for converting "CPUID features to properties"
    • allows to use device_add command after CPU subclasses is implemented.
  • 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.
  • 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.