2c9e6fec89
All functions were internal, except blk_mig_init() that is exported in misc.h now. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
30 lines
523 B
C
30 lines
523 B
C
/*
|
|
* 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);
|
|
|
|
/* migration/block.c */
|
|
|
|
#ifdef CONFIG_LIVE_BLOCK_MIGRATION
|
|
void blk_mig_init(void);
|
|
#else
|
|
static inline void blk_mig_init(void) {}
|
|
#endif
|
|
|
|
#endif
|