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

Re: [Xen-devel] grant table interface addition?


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2008 16:03:01 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 31 Oct 2008 09:03:25 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ack7ciYzZHq30qdlEd2pYwAX8io7RQ==
  • Thread-topic: [Xen-devel] grant table interface addition?

On 31/10/08 15:52, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> Looking at that code I see some other potential issue, though:
> GRANT_PTE_FLAGS include PAGE_USER for x86-64, but the generated
> pte is passed through adjust_guest_l1e(), so without
> GNTMAP_application_map we'd get global kernel mappings. Am I wrong
> here?

GRANT_PTE_FLAGS should include _PAGE_GUEST_KERNEL then?

> Plus I would think that GRANT_PTE_FLAGS really should include PAGE_NX.

Yeah, makes sense.

 -- Keir



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