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

Re: [Xen-devel] Shadow Page Tables in Xen


  • To: Gianluca Guida <glguida@xxxxxxxxx>
  • From: priya sehgal <priyagps@xxxxxxxxxxx>
  • Date: Fri, 24 Apr 2009 10:03:26 +0530 (IST)
  • Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 23 Apr 2009 21:33:51 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=jrP7TV4nu0pCkOBqfDbyxeCSwddpSjggQ4Ces4C0+8s74sx+R/fy4yDWSiRRWTTLWadX9AIBNb8v/THIkL+5FcVf8Gx8TbEz338HnnApbkiO7XSrFyskWuWvij9LCUlxGKFkfDc4OwW46szBhFjzhM8pqax1i27nViuZIpKHAjo=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

> Ok that seems, but please note that at the moment shadows
> always set the DIRTY bit (unless we're tracking a VRAM
> address), so you might have to set the dirty bit clean when
> propagating the shadow, which is a bit too intrusive
> perhaps. But yes, that would work.
> 

I see one problem, which we might introduce by making the SPTE entries of
all the pages in the group RW, but not marking their corresponding GPTE entry 
as DIRTY -- if the Guest writes to a page (marked as RW in SPTE) and makes it 
dirty, there is no way Hypervisor will know about it, and so it cannot mark 
GPTE's entry as DIRTY. This might lead to inconsistency between the shadow and 
guest page tables. Also, the OS running inside the guest will not see correct 
picture about the dirty pages, thereby not flushing the dirty pages.

Please let me know if I am right about the problem created due to our proposed 
implementation.

Thanks.
Priya


      

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