migration: ram_release_pages() always receive 1 page as argument
commit0189c722917ce3626e21bcad675871228626d61b
authorJuan Quintela <quintela@redhat.com>
Wed, 15 Dec 2021 19:34:47 +0000 (15 20:34 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Jan 2022 14:38:22 +0000 (28 15:38 +0100)
tree66c2dda50125f3e5c2d27d8f75618a684f20bd6a
parent05931ec561a83a6054d0658ed2b9570f5175728a
migration: ram_release_pages() always receive 1 page as argument

Remove the pages argument. And s/pages/page/

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
---

- Use 1LL instead of casts (philmd)
- Change the whole 1ULL for TARGET_PAGE_SIZE
migration/ram.c