aboutsummaryrefslogtreecommitdiff
path: root/include/monitor/qdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-04 11:37:52 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-03-01 13:54:10 +0100
commitb4a42f81383d60900aae09513f42eb857a5a7c7c (patch)
tree952c4781da510cc183ec4770c9c00993d357d88d /include/monitor/qdev.h
parentfd7f0d66177ec1058a2a256856ff38fc9ceae5af (diff)
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>
Diffstat (limited to 'include/monitor/qdev.h')
-rw-r--r--include/monitor/qdev.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/monitor/qdev.h b/include/monitor/qdev.h
new file mode 100644
index 0000000000..8d16e119d3
--- /dev/null
+++ b/include/monitor/qdev.h
@@ -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