mbox series

[v1,0/2] tcg: Introduce probe_access() and return a host pointer

Message ID 20190828111004.28013-1-david@redhat.com
Headers show
Series tcg: Introduce probe_access() and return a host pointer | expand

Message

David Hildenbrand Aug. 28, 2019, 11:10 a.m. UTC
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.

Based on tcg-next and "tcg: probe_write() refactorings".

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Riku Voipio <riku.voipio@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   | 27 +++++++++++++++----
 include/exec/exec-all.h |  9 +++++--
 3 files changed, 75 insertions(+), 21 deletions(-)