On Wed, Jun 01, 2016 at 07:21:00PM +0100, Peter Maydell wrote: > On 1 June 2016 at 17:37, Igor Mammedov <imamm...@redhat.com> wrote: > > Current CLI option -cpu cpux,features serves as template > > for all created cpus of type: cpux. However QEMU parses > > "features" every time it creates a cpu instance and applies > > them to it while doing parsing. > > > > That doesn't work well with -device/device_add infrastructure > > as it has no idea about cpu specific hooks that's used for > > parsing "features". > > In order to make -device/device_add utilize "-cpu features" > > template convert it into a set of global properties, so that > > every new CPU created will have them applied automatically. > > Is there a plan for supporting heterogenous CPU setups? > (We don't really do those very well at the moment, but > we might in future. The closest we come today is the > zynqmp SoC which has Cortex-R5s and A53s in it.)
I am not aware of any specific plan, but this series gets us closer to eventually replacing -cpu (which doesn't allow heterogenous CPU setups) with simple -device/-global combinations (which would be more flexible). -- Eduardo