mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
b4a42f8138
qdev-monitor.c is the only "core qdev" file that is not used in user-mode emulation, and it does not define anything that is used by hardware models. Remove it from the hw/ directory and remove hw/qdev-monitor.h from hw/qdev.h too; this requires some files to have some new explicitly includes. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
16 lines
412 B
C
16 lines
412 B
C
#ifndef QEMU_QDEV_MONITOR_H
|
|
#define QEMU_QDEV_MONITOR_H
|
|
|
|
#include "hw/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 qdev_device_help(QemuOpts *opts);
|
|
DeviceState *qdev_device_add(QemuOpts *opts);
|
|
|
|
#endif
|