Let's return a host pointer from probe_access() if possible and provide probe_access(). s390x will soon make use of probe_access() and use the provided host pointer.
v1 -> v2: - Rebased to tcg-next - "tcg: Make probe_write() return a pointer to the host page" -- Rephrase documentation - "tcg: Factor out probe_write() logic into probe_access()" -- Don't check the MMU index Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Riku Voipio <riku.voi...@iki.fi> David Hildenbrand (2): tcg: Make probe_write() return a pointer to the host page tcg: Factor out probe_write() logic into probe_access() accel/tcg/cputlb.c | 60 +++++++++++++++++++++++++++++++---------- accel/tcg/user-exec.c | 28 ++++++++++++++----- include/exec/exec-all.h | 9 +++++-- 3 files changed, 75 insertions(+), 22 deletions(-) -- 2.21.0