On Tue, Oct 04, 2016 at 04:25:15PM -0300, Eduardo Habkost wrote:
> Instead of requiring clients to actually call the query-cpu-*
> commands to find out if they are implemented, remove them from
> the output of "query-commands", so clients know they are not
> available.
> 
> This is implemented by adding a new arch-specific hook:
> arch_init_qmp_commands(), that can enable the available QMP
> commands (which are now disabled by default).
> 
> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com>

Eric Blake just pointed me to qmp_unregister_commands_hack(). I
will try to move the query-cpu-* rules there, in v2.

-- 
Eduardo

Reply via email to