From 4cab946a4adc3094a846dd3c7ea104abe7bdc5f1 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 8 Dec 2010 13:35:08 +0200 Subject: 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 Signed-off-by: Blue Swirl --- sysemu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysemu.h') 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); -- cgit v1.2.1