aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-12-08 13:35:08 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-12-11 21:32:48 +0000
commit4cab946a4adc3094a846dd3c7ea104abe7bdc5f1 (patch)
tree3786f1ef021cde8aab8c968db946fa9fa2af85aa /sysemu.h
parent2e55e84282c545aeab8f5c9dd52a8073deaf3dbc (diff)
Add notifier that will be called when machine is fully created.
Action that depends on fully initialized device model should register with this notifier chain. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 48f8eeeda7..c42f33a216 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -60,6 +60,8 @@ void qemu_system_reset(void);
void qemu_add_exit_notifier(Notifier *notify);
void qemu_remove_exit_notifier(Notifier *notify);
+void qemu_add_machine_init_done_notifier(Notifier *notify);
+
void do_savevm(Monitor *mon, const QDict *qdict);
int load_vmstate(const char *name);
void do_delvm(Monitor *mon, const QDict *qdict);