3950a37716
Move the HMP command handlers related to QOM handlers from monitor/hmp-cmds.c and qdev-monitor.c to new qom/qom-hmp-cmds.c, where they are covered by MAINTAINERS section QOM. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Daniel P. Berrange" <berrange@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190619201050.19040-7-armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> [Also move hmp_info_qom_tree(), tweak commit message accordingly]
17 lines
438 B
C
17 lines
438 B
C
#ifndef MONITOR_QDEV_H
|
|
#define MONITOR_QDEV_H
|
|
|
|
#include "hw/qdev-core.h"
|
|
|
|
/*** monitor commands ***/
|
|
|
|
void hmp_info_qtree(Monitor *mon, const QDict *qdict);
|
|
void hmp_info_qdm(Monitor *mon, const QDict *qdict);
|
|
void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
|
|
|
|
int qdev_device_help(QemuOpts *opts);
|
|
DeviceState *qdev_device_add(QemuOpts *opts, Error **errp);
|
|
void qdev_set_id(DeviceState *dev, const char *id);
|
|
|
|
#endif
|