diff options
| author | David Hildenbrand | 2021-04-29 13:27:05 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2021-05-13 19:21:13 +0200 |
| commit | 6a23f6399a1f8807447f8680f80e4d536522683e (patch) | |
| tree | 033b8a712c637d071a8c7cd0e07bf24bb75cdb3d /include | |
| parent | migration/ram: Discard RAM when growing RAM blocks after ram_postcopy_incomin... (diff) | |
| download | qemu-6a23f6399a1f8807447f8680f80e4d536522683e.tar.gz qemu-6a23f6399a1f8807447f8680f80e4d536522683e.tar.xz qemu-6a23f6399a1f8807447f8680f80e4d536522683e.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
