On 26 January 2018 at 17:54, Eduardo Habkost <ehabk...@redhat.com> wrote: > On Fri, Jan 26, 2018 at 11:02:24AM +0000, Peter Maydell wrote: >> None of those are things we'd want to expose to the user, really >> (except maybe 'cfgend'): they're all intended for the QEMU board >> or SoC code that needs to configure and wire the CPU up. Ideally >> there'd be a mechanism for screening them out of the -cpu option >> list. >> > > Yeah, it's becoming clearer to me that we need to address this > better than with a simple "x-" prefix convention. > > If we remove the link and child properties, we have: > > midr (uint32) > mp-affinity (uint64) > psci-conduit (uint32) > reset-hivecs (bool) > node-id (int32) > start-powered-off (bool) > cfgend (bool) > > I wonder how many of them aren't useful with -cpu but might be > useful with -device in the future.
It would require a lot of work to be able to create an Arm CPU with -device -- there's no way at the moment to wire it up to the interrupt controller... thanks -- PMM