Nikolay Borisov 2f5ced5b93 migration/ram: Refactor precopy ram loading code
Extract the ramblock parsing code into a routine that operates on the
sequence of headers from the stream and another the parses the
individual ramblock. This makes ram_load_precopy() easier to
comprehend.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231011184604.32364-3-farosas@suse.de>
2023-10-17 09:25:14 +02:00
..
2023-10-17 09:25:13 +02:00
2023-06-05 20:48:34 +02:00
2023-10-04 13:18:08 +02:00
2023-10-04 13:16:58 +02:00
2023-10-04 13:16:58 +02:00
2023-10-17 09:25:13 +02:00
2023-10-17 09:25:13 +02:00
2023-07-25 17:13:20 +03:00
2023-07-25 17:13:20 +03:00
2023-10-17 09:25:13 +02:00
2023-10-17 09:25:13 +02:00
2023-10-17 09:25:13 +02:00
2023-10-17 09:25:13 +02:00