diff options
author | David Hildenbrand <david@redhat.com> | 2021-04-29 13:27:05 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-05-13 18:21:13 +0100 |
commit | 6a23f6399a1f8807447f8680f80e4d536522683e (patch) | |
tree | 033b8a712c637d071a8c7cd0e07bf24bb75cdb3d /block/crypto.c | |
parent | cc61c703b6a8b9dfdfb92d5f3fa1961f6d232926 (diff) |
migration/ram: Simplify host page handling in ram_load_postcopy()
Add two new helper functions. This will come in come handy once we want to
handle ram block resizes while postcopy is active.
Note that ram_block_from_stream() will already print proper errors.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210429112708.12291-8-david@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
dgilbert: Added brackets in host_page_from_ram_block_offset
to cause uintptr_t to cast the sum, to fix armhf-cross build
Diffstat (limited to 'block/crypto.c')
0 files changed, 0 insertions, 0 deletions