mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33: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
|
@ -1,5 +1,6 @@
|
|||
#ifndef LOADER_H
|
||||
#define LOADER_H
|
||||
#include "qapi/qmp/qdict.h"
|
||||
|
||||
/* loader.c */
|
||||
int get_image_size(const char *filename);
|
||||
|
@ -30,7 +31,7 @@ int rom_load_all(void);
|
|||
void rom_set_fw(void *f);
|
||||
int rom_copy(uint8_t *dest, hwaddr addr, size_t size);
|
||||
void *rom_ptr(hwaddr addr);
|
||||
void do_info_roms(Monitor *mon);
|
||||
void do_info_roms(Monitor *mon, const QDict *qdict);
|
||||
|
||||
#define rom_add_file_fixed(_f, _a, _i) \
|
||||
rom_add_file(_f, NULL, _a, _i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue