]> git.proxmox.com Git - mirror_qemu.git/commit
exec: introduce address_space_get_iotlb_entry()
authorJason Wang <jasowang@redhat.com>
Fri, 30 Dec 2016 10:09:13 +0000 (18:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Jan 2017 03:56:58 +0000 (05:56 +0200)
commit052c8fa9983f553fdfa0d61034774070dd639c2b
tree5883498a87ba78e92ec7d11e91cf1d813fab3050
parent2d3fc5816eb629a14f8516bf3c964d7f266870c0
exec: introduce address_space_get_iotlb_entry()

This patch introduces a helper to query the iotlb entry for a
possible iova. This will be used by later device IOTLB API to enable
the capability for a dataplane (e.g vhost) to query the IOTLB.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
exec.c
include/exec/memory.h