migration: Introduce ram_bitmaps_destroy()
commit92c20b2fc5cd3b423973a65aac945a605f93142e
authorCédric Le Goater <clg@redhat.com>
Wed, 20 Mar 2024 06:49:06 +0000 (20 07:49 +0100)
committerPeter Xu <peterx@redhat.com>
Tue, 23 Apr 2024 22:36:01 +0000 (23 18:36 -0400)
tree9524c3bff5439c2d8f47e87a706b01035b9bc750
parent3688fec8923101b3a44acde7f3db59b76f82b838
migration: Introduce ram_bitmaps_destroy()

We will use it in ram_init_bitmaps() to clear the allocated bitmaps when
support for error reporting is added to memory_global_dirty_log_start().

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