aboutsummaryrefslogtreecommitdiff
path: root/softmmu
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2020-01-22 18:55:02 +0100
committerJuan Quintela <quintela@redhat.com>2020-02-28 09:24:43 +0100
commita2d07731e7e2f1462e90f9d0a7eaf9e39da29eb0 (patch)
tree6cdaa1e9fce7f0f77057c8e0e8cf04721cd588cc /softmmu
parent96eef04238f4bef63cc2beeef804701f9b60ea7d (diff)
migration: Add support for modules
So we don't have to compile everything in, or have ifdefs Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/vl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 16ff5a16a3..705ee6f841 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -2858,6 +2858,7 @@ void qemu_init(int argc, char **argv, char **envp)
qemu_init_exec_dir(argv[0]);
module_call_init(MODULE_INIT_QOM);
+ module_call_init(MODULE_INIT_MIGRATION);
qemu_add_opts(&qemu_drive_opts);
qemu_add_drive_opts(&qemu_legacy_drive_opts);