qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH qemu] RFC: spapr/iommu: Enable in-kernel TCE acc


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] [PATCH qemu] RFC: spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device
Date: Thu, 21 Dec 2017 01:13:18 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 20/12/17 20:04, Paolo Bonzini wrote:
> 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.

That was more David's concern :)


-- 
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]