|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH qemu] RFC: spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device |
Date: | Wed, 20 Dec 2017 10:04:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 20/12/2017 02:47, Alexey Kardashevskiy wrote: >> - if we foresee having more IOMMU devices in KVM, let's rename >> KVM_DEV_VFIO_GROUP_SET_SPAPR_TCE to KVM_DEV_VFIO_GROUP_ATTACH_IOMMU and >> add a new function >> >> int iommu_memory_region_get_kvm_fd(IOMMUMemoryRegion *iommu); >> >> that requires no object-type check in VFIO. > > This is how it started and the comment was that this KVM fd needs to have a > well defined semantic which I struggle to provide. I don't think the definition should be anything more than "it can be passed to KVM_DEV_VFIO_GROUP_ATTACH_IOMMU". I'll discuss it with Alex later today. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |