xref: /qemu/include/migration/misc.h (revision ac06724a715864942e2b5e28f92d5d5421f0a0b0)
1 /*
2  * QEMU migration miscellaneus exported functions
3  *
4  * Copyright IBM, Corp. 2008
5  *
6  * Authors:
7  *  Anthony Liguori   <aliguori@us.ibm.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2.  See
10  * the COPYING file in the top-level directory.
11  *
12  */
13 
14 #ifndef MIGRATION_MISC_H
15 #define MIGRATION_MISC_H
16 
17 /* migration/ram.c */
18 
19 void ram_mig_init(void);
20 
21 /* migration/block.c */
22 
23 #ifdef CONFIG_LIVE_BLOCK_MIGRATION
24 void blk_mig_init(void);
25 #else
26 static inline void blk_mig_init(void) {}
27 #endif
28 
29 #endif
30