On 12/16/21 10:13, Juan Quintela wrote: > Remove the pages argument. And s/pages/page/ > > Signed-off-by: Juan Quintela <quint...@redhat.com> > --- > migration/ram.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
> -static void ram_release_pages(const char *rbname, uint64_t offset, int pages) > +static void ram_release_page(const char *rbname, uint64_t offset) > { > if (!migrate_release_ram() || !migration_in_postcopy()) { > return; > } > > - ram_discard_range(rbname, offset, ((ram_addr_t)pages) << > TARGET_PAGE_BITS); > + ram_discard_range(rbname, offset, ((ram_addr_t)1) << TARGET_PAGE_BITS); 1ULL? Otherwise, Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>