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

RE: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked



> #define iommu_use_hap_pt(d) (paging_mode_translate(d) && iommu_hap_pt_share)

Tim, should the code be checking for paging_mode_hap(d) instead to make sure 
HAP page table is used?


-----Original Message-----
From: Tim Deegan [mailto:tim@xxxxxxx] 
Sent: Monday, August 15, 2011 3:41 AM
To: Ren, Yongjie; Xen Devel; Jan Beulich; Kay, Allen M; Li, Xin
Subject: Re: [Xen-devel] [bug] 'VT-d 1G super page' feature is blocked

Hi, 

At 11:11 +0100 on 15 Aug (1313406719), Tim Deegan wrote:
> So this breaks on dom0 boot, but that's a symptom of a deeper illness. 
> By chance, the old code (before 23247) only actually enabled 
> EPT-sharing when the first HVM domain tried to use it.  23247 pulled 
> that enabling up to boot time, and exposed the bug that PV guests 
> aren't properly supported.  AFAICS the code just tries to share the 
> P2M table without making sure there is one there to share. :(

Please try the attached patch, as well as the one earlier in the thread. 

Cheers, 

Tim.

--
Tim Deegan <tim@xxxxxxx>
Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd.  (Company 
#02937203, SL9 0BG)

_______________________________________________
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®.