diff options
author | Le Tan <tamlokveer@gmail.com> | 2014-08-16 13:55:44 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-08-28 23:10:22 +0200 |
commit | b5a280c00840f4ebc2f40afb4f74e37e34d19f7c (patch) | |
tree | c087ab3c5467136fad9c072b090af88cc1e64b35 /block/nbd.c | |
parent | d92fa2dc6e42e8bd8470e69d85141176f98feaea (diff) | |
download | hqemu-b5a280c00840f4ebc2f40afb4f74e37e34d19f7c.zip hqemu-b5a280c00840f4ebc2f40afb4f74e37e34d19f7c.tar.gz |
intel-iommu: add IOTLB using hash table
Add IOTLB to cache information about the translation of input-addresses. IOTLB
use a GHashTable as cache. The key of the hash table is the logical-OR of gfn
and source id after left-shifting.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions