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

[Xen-devel] [PATCH][VTD] fixing vt-d/ept page table sharing in xen-4.1



Tim/Keir,

Attached is a patch for fixing VT-d/EPT sharing issue in xen-4.1-testing.  It 
is base on Tim's patch with the following changes:

1) moving "d->arch.paging.mode = mode | PG_HAP_enable" before calling 
p2m_alloc_table().  Otherwise, the call to iommu_use_hap_pt() in 
iommu_set_pgd() will not return TRUE.

2) added following to passthrough/iommu.c so that now uses "iommu=sharept" to 
turn on this feature.  I have removed the old "sharpt=1" boot option.

+        else if ( !strcmp(s, "sharept") )
+            iommu_hap_pt_share = 1;

If there is no problem with change in (1), then this patch can be incorporated 
into the xen 4.1.2 release.

Here is the sign off if needed:

Signed-off-by: Tim Deegan <tim@xxxxxxx>
Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>

Attachment: share0819.patch
Description: share0819.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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