Re: [PATCH RFC 13/21] migration: Add migration_ram_pagesize_largest()

2023-01-29 Thread Juan Quintela
Peter Xu wrote: > Let it replace the old qemu_ram_pagesize_largest() just to fetch the page > sizes using migration_ram_pagesize(), because it'll start to consider > double mapping effect in migrations. > > Also don't account the ignored ramblocks as they won't be migrated. > > Signed-off-by: Pete

Re: [PATCH RFC 13/21] migration: Add migration_ram_pagesize_largest()

2023-01-24 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Let it replace the old qemu_ram_pagesize_largest() just to fetch the page > sizes using migration_ram_pagesize(), because it'll start to consider > double mapping effect in migrations. > > Also don't account the ignored ramblocks as they won't be migrated. >

[PATCH RFC 13/21] migration: Add migration_ram_pagesize_largest()

2023-01-17 Thread Peter Xu
Let it replace the old qemu_ram_pagesize_largest() just to fetch the page sizes using migration_ram_pagesize(), because it'll start to consider double mapping effect in migrations. Also don't account the ignored ramblocks as they won't be migrated. Signed-off-by: Peter Xu --- include/exec/cpu-c