84f2d0ea0f
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>
17 lines
482 B
C
17 lines
482 B
C
#ifndef QEMU_QDEV_MONITOR_H
|
|
#define QEMU_QDEV_MONITOR_H
|
|
|
|
#include "qdev-core.h"
|
|
#include "monitor/monitor.h"
|
|
|
|
/*** monitor commands ***/
|
|
|
|
void do_info_qtree(Monitor *mon, const QDict *qdict);
|
|
void do_info_qdm(Monitor *mon, const QDict *qdict);
|
|
int do_device_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
|
int do_device_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
|
int qdev_device_help(QemuOpts *opts);
|
|
DeviceState *qdev_device_add(QemuOpts *opts);
|
|
|
|
#endif
|