[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/29] Add wrappers to functions used by the Mon
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 05/29] Add wrappers to functions used by the Monitor |
Date: |
Mon, 24 Aug 2009 18:47:38 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Luiz Capitulino <address@hidden> writes:
> Some functions exported to be used by the Monitor as command
> handlers are also called in other places as regular functions.
>
> When those functions got ported to use the Monitor dictionary
> to pass argments, the callers will have to setup a dictionary
> to be able to call them.
>
> To avoid this problem, this commit add wrappers to those functions,
> so that we change the wrapper to accept the dictionary, letting
> the current functions as is.
>
> The following wrappers are being added:
>
> - do_help_cmd()
> - do_pci_device_hot_remove()
> - qemu_loadvm()
There's also do_cont(), but you solve that case differently in your
PATCH 09/29: you pass NULL. Slightly dirty. Fine with me.
- [Qemu-devel] Re: [PATCH 04/29] Introduce QDict, (continued)
[Qemu-devel] Re: [PATCH 04/29] Introduce QDict, Paolo Bonzini, 2009/08/20
Re: [Qemu-devel] [PATCH 04/29] Introduce QDict, Markus Armbruster, 2009/08/24
[Qemu-devel] [PATCH 05/29] Add wrappers to functions used by the Monitor, Luiz Capitulino, 2009/08/19
- Re: [Qemu-devel] [PATCH 05/29] Add wrappers to functions used by the Monitor,
Markus Armbruster <=
[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
[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