Re: [Qemu-devel] virtio + virtq + iommu

2014-07-18 Thread Anshul Makkar
Further adding on to it. iotlb = mr-iommu_ops-translate(mr, addr) in address_space_translate to get the translation from the tlb. What I found is that the iommu_ops-translate is assigned a function pointer only for alpha/typhoon and ppc/spapr. What about x86. Are we using any of these

Re: [Qemu-devel] virtio + virtq + iommu

2014-07-09 Thread Anshul Makkar
Hi, Any suggestions. Anshul Makkar On Tue, Jul 8, 2014 at 5:21 PM, Anshul Makkar anshul.mak...@profitbricks.com wrote: Hi, Was tracing the buffer handling code flow after the kick has been initiated from the guest in case of virtio. Found this function

[Qemu-devel] virtio + virtq + iommu

2014-07-08 Thread Anshul Makkar
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)