Features/CPUHotplug: Difference between revisions

From QEMU
Line 14: Line 14:


= Roadmap for QEMU 1.3 =
= Roadmap for QEMU 1.3 =
== X86CPU ==
== Dependencies and ToDo-s ==
* CPU cleanups. Move CPU internals inside CPU object
* CPU clean-ups. Move CPU internals inside CPU object
** <span style="color:green">move tcg init code CPU. commits d65e98, 84e3b60, eeec69d, 130a038 </span>
** <span style="color:green">move tcg init code CPU. commits d65e98, 84e3b60, eeec69d, 130a038</span>
** move CPU reset from board level into CPU. commits 65dee3805, dd673288
** <span style="color:green">move CPU reset from board level into CPU. commits 65dee3805, dd673288</span>
** move APIC creation/initialization into CPU object. commit [ bdeec8021]
** <span style="color:green">move APIC creation/initialization into CPU object. commit [ bdeec8021]</span>


* CPU as Device [commit: 961f839]
* <span style="color:green">CPU as Device [commit: 961f839]</span>
** needed for converting "CPUID features to properties"
** necessary for converting "CPUID features" into static properties
** allows to use device_add command after CPU subclasses is implemented.
** allows to use device_add command after CPU subclasses is implemented.


* CPUID features to properties
* <span style="color:blue">QOM realize, device-only</span>
**http://permalink.gmane.org/gmane.comp.emulators.qemu/187533
** <span style="color:red">convert CPUs realizefn() to use DeviceRealize</span>
 
* <span style="color:blue">CPUID features to properties</span>
** 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.

Revision as of 15:11, 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

Dependencies and ToDo-s

  • CPU clean-ups. 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]
    • necessary for converting "CPUID features" into static 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.