aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-17 20:26:27 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-01 18:49:23 +0200
commit7b1e1a2202a492d492d4fb8ef25a5e648daed774 (patch)
tree88063c89354b10f351ca76f5de834d746f28d3e6 /migration/ram.c
parent5e22479ae241965575318ec081c26c907bfc3210 (diff)
migration: Export ram.c functions in its own file
All functions are internal except for ram_mig_init(). Create migration/misc.h for this kind of functions. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/ram.c b/migration/ram.c
index 390f714caa..f387e9cc5b 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -36,7 +36,9 @@
#include "qemu/timer.h"
#include "qemu/main-loop.h"
#include "xbzrle.h"
+#include "ram.h"
#include "migration/migration.h"
+#include "migration/misc.h"
#include "qemu-file.h"
#include "migration/vmstate.h"
#include "postcopy-ram.h"