exec: remove ram_addr argument from qemu_ram_block_from_host
commitf615f39616c4fd1a3a3b078af8d75bb4be6390de
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 May 2016 08:07:50 +0000 (26 10:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 29 May 2016 07:11:12 +0000 (29 09:11 +0200)
tree39df35d2331f9faa6c8cb95dd944b350c318c956
parent4ff87573df3606856a92c14eef3393a63d736d11
exec: remove ram_addr argument from qemu_ram_block_from_host

Of the two callers, one does not use it, and the other can compute
it itself based on the other output argument (offset) and the RAMBlock.

Reviewed-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/cpu-common.h
migration/postcopy-ram.c