mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
HMP: add QDict to info callback handler
This patch change all info call back function to take additional QDict * parameter, which allow those command take parameter. Now it is set to NULL at default case. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
47f4dac3fd
commit
84f2d0ea0f
25 changed files with 84 additions and 83 deletions
|
@ -852,7 +852,7 @@ void print_net_client(Monitor *mon, NetClientState *nc)
|
|||
NetClientOptionsKind_lookup[nc->info->type], nc->info_str);
|
||||
}
|
||||
|
||||
void do_info_network(Monitor *mon)
|
||||
void do_info_network(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
NetClientState *nc, *peer;
|
||||
NetClientOptionsKind type;
|
||||
|
|
|
@ -670,7 +670,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str,
|
|||
return -1;
|
||||
}
|
||||
|
||||
void do_info_usernet(Monitor *mon)
|
||||
void do_info_usernet(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
SlirpState *s;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue