aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-04-29 13:27:08 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2021-05-13 18:21:14 +0100
commit542147f4e5701fbb5b41c13d64ce90200f4ca766 (patch)
tree37f47d9e5bc426911a6ec08293b7c18db2fe6ee1 /migration/ram.h
parentc1668bde5cce6c1b4dbe4b2981266cedbd111504 (diff)
downloadqemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.zip
qemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.tar.gz
qemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.tar.bz2
migration/ram: Use offset_in_ramblock() in range checks
We never read or write beyond the used_length of memory blocks when migrating. Make this clearer by using offset_in_ramblock() consistently. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210429112708.12291-11-david@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/ram.h')
0 files changed, 0 insertions, 0 deletions