[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V4 1/4] HMP: add QDict to info callback handler
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH V4 1/4] HMP: add QDict to info callback handler |
Date: |
Thu, 10 Jan 2013 11:10:57 -0200 |
On Thu, 10 Jan 2013 16:32:31 +0800
Wenchao Xia <address@hidden> wrote:
> diff --git a/monitor.c b/monitor.c
> index 9cf419b..c7b3014 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -123,7 +123,7 @@ typedef struct mon_cmd_t {
> const char *help;
> void (*user_print)(Monitor *mon, const QObject *data);
> union {
> - void (*info)(Monitor *mon);
> + void (*info)(Monitor *mon, const QDict *qdict);
> void (*cmd)(Monitor *mon, const QDict *qdict);
Is it possible to eliminate 'info' and use 'cmd' instead?