cputlb: tweak qemu_ram_addr_from_host_nofail reporting
commit857baec1d9e80947f0c1007c3a3d2331d62b4b53
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Feb 2017 18:29:17 +0000 (23 18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:46 +0000 (24 10:32 +0000)
tree576577b55a07f1612975c1094c6bc055576360e3
parentf0aff0f124028aaaab24e5e53fb030d389766913
cputlb: tweak qemu_ram_addr_from_host_nofail reporting

This moves the helper function closer to where it is called and updates
the error message to report via error_report instead of the deprecated
fprintf.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
cputlb.c