[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/9] ui: Move HMP commands from monitor to new ui/ui-hmp-cmds
From: |
Markus Armbruster |
Subject: |
Re: [PATCH 6/9] ui: Move HMP commands from monitor to new ui/ui-hmp-cmds.c |
Date: |
Thu, 01 Dec 2022 11:26:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> On 1/12/22 07:13, Markus Armbruster wrote:
>> This moves these commands from MAINTAINERS section "Human
>> Monitor (HMP)" to "Graphics".
>> Signed-off-by: Markus Armbruster <armbru@redhat.com>
>> ---
>> monitor/hmp-cmds.c | 342 ------------------------------------------
>> ui/ui-hmp-cmds.c | 360 +++++++++++++++++++++++++++++++++++++++++++++
>> ui/meson.build | 1 +
>> 3 files changed, 361 insertions(+), 342 deletions(-)
>> create mode 100644 ui/ui-hmp-cmds.c
>
>
>> +#ifdef CONFIG_SPICE
>> +void hmp_info_spice(Monitor *mon, const QDict *qdict)
>> +{
>> + SpiceChannelList *chan;
>> + SpiceInfo *info;
>> + const char *channel_name;
>> + const char * const channel_names[] = {
>
> Can be static (pre-existing).
Separate patch, to keep the code motion pure.
>> + [SPICE_CHANNEL_MAIN] = "main",
>> + [SPICE_CHANNEL_DISPLAY] = "display",
>> + [SPICE_CHANNEL_INPUTS] = "inputs",
>> + [SPICE_CHANNEL_CURSOR] = "cursor",
>> + [SPICE_CHANNEL_PLAYBACK] = "playback",
>> + [SPICE_CHANNEL_RECORD] = "record",
>> + [SPICE_CHANNEL_TUNNEL] = "tunnel",
>> + [SPICE_CHANNEL_SMARTCARD] = "smartcard",
>> + [SPICE_CHANNEL_USBREDIR] = "usbredir",
>> + [SPICE_CHANNEL_PORT] = "port",
>> + };
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Thanks!
- Re: [PATCH 1/9] ui: Check numeric part of expire_password argument @time properly, (continued)
- [PATCH 2/9] ui: Fix silent truncation of numeric keys in HMP sendkey, Markus Armbruster, 2022/12/01
- [PATCH 7/9] ui: Improve "change vnc" error reporting, Markus Armbruster, 2022/12/01
- [PATCH 8/9] ui: Factor out hmp_change_vnc(), and move to ui/ui-hmp-cmds.c, Markus Armbruster, 2022/12/01
- [PATCH 6/9] ui: Move HMP commands from monitor to new ui/ui-hmp-cmds.c, Markus Armbruster, 2022/12/01
- [PATCH 9/9] ui: Reduce nesting in hmp_change_vnc() slightly, Markus Armbruster, 2022/12/01
- [PATCH 5/9] ui: Move QMP commands from monitor to new ui/ui-qmp-cmds.c, Markus Armbruster, 2022/12/01