]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
migration: Unexport ram_mig_init()
authorPeter Xu <peterx@redhat.com>
Thu, 24 Oct 2024 21:30:51 +0000 (17:30 -0400)
committerPeter Xu <peterx@redhat.com>
Thu, 31 Oct 2024 19:48:18 +0000 (15:48 -0400)
It's only used within migration/.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20241024213056.1395400-4-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
include/migration/misc.h
migration/ram.h

index df57be6b5e4a9d22773bc04214ee64b8454f57d7..e8490e3af54affe00c41dcae1734cc125267c2b7 100644 (file)
@@ -39,7 +39,6 @@ void precopy_add_notifier(NotifierWithReturn *n);
 void precopy_remove_notifier(NotifierWithReturn *n);
 int precopy_notify(PrecopyNotifyReason reason, Error **errp);
 
-void ram_mig_init(void);
 void qemu_guest_free_page_hint(void *addr, size_t len);
 bool migrate_ram_is_ignored(RAMBlock *block);
 
index bc0318b8346220835fab7ffd3bd1472f283218c3..0d1981f888e9beebe794f746e77402cbc571af33 100644 (file)
@@ -44,6 +44,7 @@ extern XBZRLECacheStats xbzrle_counters;
     INTERNAL_RAMBLOCK_FOREACH(block)                   \
         if (!qemu_ram_is_migratable(block)) {} else
 
+void ram_mig_init(void);
 int xbzrle_cache_resize(uint64_t new_size, Error **errp);
 uint64_t ram_bytes_remaining(void);
 uint64_t ram_bytes_total(void);