Re: [PATCH v1 3/4] migration/ram: Expose ramblock_is_ignored() as migrate_ram_is_ignored()

2023-06-21 Thread Peter Xu
On Tue, Jun 20, 2023 at 03:03:53PM +0200, David Hildenbrand wrote: > virtio-mem wants to know whether it should not mess with the RAMBlock > content (e.g., discard RAM, preallocate memory) on incoming migration. > > So let's expose that function as migrate_ram_is_ignored() in > migration/misc.h >

[PATCH v1 3/4] migration/ram: Expose ramblock_is_ignored() as migrate_ram_is_ignored()

2023-06-20 Thread David Hildenbrand
virtio-mem wants to know whether it should not mess with the RAMBlock content (e.g., discard RAM, preallocate memory) on incoming migration. So let's expose that function as migrate_ram_is_ignored() in migration/misc.h Signed-off-by: David Hildenbrand --- include/migration/misc.h | 1 +