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

Re: [Xen-devel] Re: Making pages writable again in paging_log_dirty mode


  • To: "Tim Deegan" <Tim.Deegan@xxxxxxxxxx>
  • From: "Mike Sun" <msun@xxxxxxxxxx>
  • Date: Sat, 3 Jan 2009 22:55:00 -0500
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 03 Jan 2009 19:55:29 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=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=UjvGSdft2PpPh+DwMpn9XaBW1EzEOjf7GA/K+pQTQHLHPw2DIQRzaRZekWnvJrS6WH JIOkc4hQMzc+m4Sp73xb7syygb4R4G64arsb7MKrYnLn8dS6ossO6aFIM1K1hNUAOOEc /HlMGQRPudgLW5crKbz+0rr7IyfYIjqBj7mFE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

> Thanks Tim.  It make sense that I may accidentally calling
> get_page_and_type() once too often. I modified the condition in which
> I manually call an extra get_page_and_type() when trying to make PTEs
> writable from dom0, but now I get this error condition:
>
> (XEN) sh error: sh_remove_shadows(): can't find all shadows of mfn
> 02673 (shadow_flags=00000008)

Okay, it turned out to be trickier than I thought to manually call a
get_page_and_type().  Seems like I missed a few conditions checks
still.  I ended up wrapping the get_page_from_l1e and higher functions
with another parameter that lets me bypass the external domain
mappings not counting code.

Thanks for the help!
Mike

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