From: "Jan Beulich" Subject: grant table interface addition? Date: Thu, 30 Oct 2008 14:06:55 +0000 Message-ID: <4909CD8F.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org In order to be able to set some of the available bits in the pte resulting = from gnttab_set_map_op() (in particular PAGE_SPECIAL and possibly PAGE_IO), it would seem necessary to extend the set of flags that can be passed to that function. While the addition by itself is a simple operation, the = question is how to deal with backward compatibility here: Is there anything preventing the guest kernel from setting the flags it wants manually after Xen established the mapping, i.e. would Xen either disallow any modificatio= n to such pte-s, or get confused by the pte not being identical to what it = set it to? As to PAGE_IO, wouldn't it be appropriate to set this flag on pte-s = created with GNTMAP_device_map? Or is the name misleading me? I'm perhaps confused by the fact that the use of this flag is not tied to granting = iomem pages... Thanks, Jan