Re: [Qemu-devel] [RFC v3 6/8] virtio-iommu: Implement the translation and commands

2017-08-03 Thread Bharat Bhushan
Hi Eric, > -Original Message- > From: Eric Auger [mailto:eric.au...@redhat.com] > Sent: Tuesday, August 01, 2017 3:03 PM > To: eric.auger@gmail.com; eric.au...@redhat.com; > peter.mayd...@linaro.org; alex.william...@redhat.com; m...@redhat.com; > qemu-...@nongnu.org; qemu-devel@nongnu.

[Qemu-devel] [RFC v3 6/8] virtio-iommu: Implement the translation and commands

2017-08-01 Thread Eric Auger
This patch adds the actual implementation for the translation routine and the virtio-iommu commands. Signed-off-by: Eric Auger --- v2 -> v3: - init the mutex - return VIRTIO_IOMMU_S_INVAL is reserved field is not null on attach/detach commands - on attach, when the device is already attached t