From: "Jiang, Yunhong" Subject: RE: [PATCH][VT]vga acceleration for cirrus logic device model Date: Fri, 23 Sep 2005 20:51:22 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: >>> allocate new l2 tables on demand. >>>=20 >>> Something like this will certainly be needed for 64-bit tables >>> anyway, where it's infeasible to pre-allocate all l3 and l2 table >>> entries.=20 >>=20 >> I'm a bit confused on this. This mapping is for 1:1 page table, and >> there is only one L3 table and 4 l2 table totally even for 64 bit >> table. >=20 > Ah yes, good point. >=20 > In that case I think the code's fine as it is. I'll check it in. >=20 > -- Keir Hmm, seems you have been persuaded by me, but I can't persuade myself after more thinking :-)=20 In fact, I'm not quite sure still and hope your feedback. There may be some problem on current 1:1 page table for 64 bit guest. Considering a guest has memory more than 4G. Current implementation may cause problem on physical to machine mapping. However, this patch works on currently 1:1 page table implementation. So how about check it in firstly, and I will provide a total solution to improve the whole thing, because I think the 4 level 1:1 page table is more complex than 3 level, we may have to provide dynamical setting, still on consideration. Thanks Yunhong Jiang