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

Re: [Xen-devel] XENFEAT_writable_pagetables vs VMASST_TYPE_writable_pagetables


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Jacob Gorm Hansen" <jacobg@xxxxxxx>
  • Date: Thu, 1 Jun 2006 09:42:51 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 01 Jun 2006 00:43:14 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=iJjU6J90t55y1t9oLF4QBLisbesuR5XpgTqgXkPBODz7pGUOIXfBiD9LRbhPegX0MCGRGUBLSSsPsZ2A7ixDsG+lnuM5Wy/spt5iRsWH0U6TwtRcLeW8tTJyqdUSq2Y3mcZfVfhp9uAEU100kTP9nu/HHvKOMsPPaL6WXJBceAw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 5/31/06, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:

This doesn't look like the result of a pmd_clear() call. Looks like a
L2 (pgd) is being allocated -- perhaps due to pinning or changing %cr3.
It's failing because one of the L1 pages it references is writable by
the guest (ie. the guest has a writable mapping of that L1 page
somewhere).

Hmm it _does_ happen on pmd_clear (which is a macro that turns into a
xen mmu update call). The funny thing is how giving val=0 can end up
as an alloc_l2_page.

Jacob

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