summary refs log tree commit diff stats
path: root/hw/core/generic-loader.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-04-29 13:27:05 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2021-05-13 18:21:13 +0100
commit6a23f6399a1f8807447f8680f80e4d536522683e (patch)
tree033b8a712c637d071a8c7cd0e07bf24bb75cdb3d /hw/core/generic-loader.c
parentcc61c703b6a8b9dfdfb92d5f3fa1961f6d232926 (diff)
downloadfocaccia-qemu-6a23f6399a1f8807447f8680f80e4d536522683e.tar.gz
focaccia-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 'hw/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions