mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
2
savevm.c
2
savevm.c
|
@ -2307,7 +2307,7 @@ void do_delvm(Monitor *mon, const QDict *qdict)
|
|||
}
|
||||
}
|
||||
|
||||
void do_info_snapshots(Monitor *mon)
|
||||
void do_info_snapshots(Monitor *mon, const QDict *qdict)
|
||||
{
|
||||
BlockDriverState *bs, *bs1;
|
||||
QEMUSnapshotInfo *sn_tab, *sn, s, *sn_info = &s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue