qemu-devel
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]