mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
hw: move qdev-monitor.o to toplevel directory
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>
This commit is contained in:
parent
fd7f0d6617
commit
b4a42f8138
23 changed files with 25 additions and 8 deletions
15
include/monitor/qdev.h
Normal file
15
include/monitor/qdev.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue