[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 07/29] monitor: Setup a QDict with arguments to
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 07/29] monitor: Setup a QDict with arguments to handlers |
Date: |
Mon, 24 Aug 2009 18:25:37 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Luiz Capitulino <address@hidden> writes:
> With this commit monitor_handle_command() will be able to setup a
> QDict with arguments to command handlers.
>
> However, the current 'args[]' method is still being used, next
> changes will port commands to get their arguments from the dictionary.
>
> Two changes are worth noting:
>
> 1. The '/' argument type always adds the following standard keys in the
> dictionary: 'count', 'format' and 'size'. This way, the argument
> name used in the 'args_type' string doesn't matter
Can have at most one '/' argument then. Hmm. Document as restriction?
> 2. The optional argument type '?' doesn't need to pass the additional
> 'has_arg' argument, hanlders can do the same check with qdict_exists()
- [Qemu-devel] Re: [PATCH 04/29] Introduce QDict, (continued)
- [Qemu-devel] [PATCH 05/29] Add wrappers to functions used by the Monitor, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 06/29] monitor: New format for handlers argument types, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 07/29] monitor: Setup a QDict with arguments to handlers, Luiz Capitulino, 2009/08/19
- Re: [Qemu-devel] [PATCH 07/29] monitor: Setup a QDict with arguments to handlers,
Markus Armbruster <=
- [Qemu-devel] [PATCH 08/29] monitor: Export QDict header, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 09/29] monitor: Port handler_0 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 10/29] monitor: Port handler_1 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 11/29] monitor: Port handler_2 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 12/29] monitor: Port handler_3 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 14/29] monitor: Port handler_5 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 15/29] monitor: Port handler_6 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 16/29] monitor: Port handler_7 to use QDict, Luiz Capitulino, 2009/08/19
- [Qemu-devel] [PATCH 13/29] monitor: Port handler_4 to use QDict, Luiz Capitulino, 2009/08/19