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>
This commit is contained in:
Juan Quintela 2017-04-17 20:26:27 +02:00
parent 5e22479ae2
commit 7b1e1a2202
9 changed files with 98 additions and 39 deletions

21
include/migration/misc.h Normal file
View file

@ -0,0 +1,21 @@
/*
* QEMU migration miscellaneus exported functions
*
* Copyright IBM, Corp. 2008
*
* Authors:
* Anthony Liguori <aliguori@us.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#ifndef MIGRATION_MISC_H
#define MIGRATION_MISC_H
/* migration/ram.c */
void ram_mig_init(void);
#endif