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

Re: [Xen-devel] [RFC for-4.5 09/12] xen/passthrough: iommu: Introduce arch specific code

Hi Ian,

On 02/19/2014 12:40 PM, Ian Campbell wrote:
> On Fri, 2014-02-07 at 17:43 +0000, Julien Grall wrote:
>> Currently the structure hvm_iommu (xen/include/xen/hvm/iommu.h) contains
>> x86 specific fields.
>> This patch creates:
>>     - arch_hvm_iommu structure which will contain architecture depend
>>     fields
>>     - arch_iommu_domain_{init,destroy} function to execute arch
>>     specific during domain creation/destruction
>> Also move iommu_use_hap_pt and domain_hvm_iommu in asm-x86/iommu.h.
>> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
>> Cc: Keir Fraser <keir@xxxxxxx>
>> Cc: Jan Beulich <jbeulich@xxxxxxxx>
>> Cc: Joseph Cihula <joseph.cihula@xxxxxxxxx>
>> Cc: Gang Wei <gang.wei@xxxxxxxxx>
>> Cc: Shane Wang <shane.wang@xxxxxxxxx>
>> Cc: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
>> Cc: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
> Mostly mechanical I guess?

Yes. Mostly replace hd->field by hd->arch.field.

> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>


Julien Grall

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.