qemu_ram_block_host_offset
commitf90bb71bfdaca6ece1696e194aad11fb8599ffba
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Mar 2018 17:20:57 +0000 (12 17:20 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 20 Mar 2018 03:03:26 +0000 (20 05:03 +0200)
treeac6677b5c12103fdeef75d1da2f625bbd071683c
parentdb144f7000327a98a7ed0b32f1fc8615ad4ae740
qemu_ram_block_host_offset

Utility to give the offset of a host pointer within a RAMBlock
(assuming we already know it's in that RAMBlock)

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
exec.c
include/exec/cpu-common.h