[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] qmp: Disable query-cpu-* commands when they'
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2] qmp: Disable query-cpu-* commands when they're unavailable |
Date: |
Fri, 07 Oct 2016 14:03:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eduardo Habkost <address@hidden> writes:
> 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 extending the existing hack at
> qmp_unregister_commands_hack(). I wish I could avoid adding even
> more #ifdefs to that code, but that's the solution we have today.
>
> Signed-off-by: Eduardo Habkost <address@hidden>
Applied to my qapi-next branch. Thanks!