qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio + virtq + iommu
@ 2014-07-08 15:21 Anshul Makkar
  2014-07-09 14:18 ` Anshul Makkar
  2014-07-18 10:10 ` Anshul Makkar
  0 siblings, 2 replies; 3+ messages in thread
From: Anshul Makkar @ 2014-07-08 15:21 UTC (permalink / raw)
  To: qemu-devel

Hi,

Was tracing the buffer handling code flow after the kick has been
initiated from the guest in case of virtio.

Found this function
cpu_physical_memory_map->address_space_map->address_space_translate
which calls address_space_translate_internal and iommu->translate (get
the translation from TLB) to get the corresponding host virtual
address where I think the packet buffer is mapped to (from guest
physical to host virtual).

So, should I conclude that there is no hardware IOMMU involved in this
translation. QEMU maintains its own TLB and translation mapping which
is used. Or iommu->translate leads to hardware MMU call.

We are developing a high speed packet transfer mechanism using
infiniband cards. So, trying to analyse every possible bottleneck.

Confused here, please suggest.

Anshul Makkar
www.justkernel.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-18 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 15:21 [Qemu-devel] virtio + virtq + iommu Anshul Makkar
2014-07-09 14:18 ` Anshul Makkar
2014-07-18 10:10 ` Anshul Makkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).