Bug #1829242 correction.
commit8bba004ccabd0d71e8b5ca056e576d2737c17305
authorAlexey Romko <nevilad@yahoo.com>
Fri, 10 Jan 2020 13:51:34 +0000 (10 14:51 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:23 +0000 (20 09:10 +0100)
tree6b20de8b00d5feef7e497afec52600699276bd68
parent9560a48ecc0c20d87bc458a6db77fba651605819
Bug #1829242 correction.

Added type conversions to ram_addr_t before all left shifts of page
indexes to TARGET_PAGE_BITS, to correct overflows when the page
address was 4Gb and more.

Signed-off-by: Alexey Romko <nevilad@yahoo.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c