WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-devel] page fault handling in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] page fault handling in Xen
From: jeet <jeet_sat12@xxxxxxxxxxx>
Date: Fri, 2 Mar 2007 14:39:49 +0530 (IST)
Delivery-date: Fri, 02 Mar 2007 01:09:31 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=xHRXRcb+FdG69/mCPPGLETAKjCPrOqbQMsPpSLGuIVAt9oCRXphtfLFseSm8kjTfYrxn0PdI1uzIkqsryVShcW/j6uXf8oiHD+F4WVHyPK+USjUOOOiganqIZ+6dIiplBS/TwK0wBq0DQIDYdoue2zPK5rtA0KmlgD8/CHevTZI=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I am trying to understand Shadow page fault handling in Xen for x86_64 in Intel 
VT-x

As per my understanding when guest can update it own page table without causing 
VM exit in xen

when some process requires some memory (pages) this will cause page fault and 
control goes to guest OS
the guest then allocate page from its own psuedo address space and make entries 
in guest page table which contain
mapping of virtual to psuedo physical memory and

But when actual write occurs to that page, page fault occurs which will cause 
vm exit in xen.

Xen then will update the page mfn in shadow page table and return control back 
to guest by vn entry.

Is this understanding it correct? so there would be only one vn exit/entry?

please do reply back 

Thanks in advance

Jeet




                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] page fault handling in Xen, jeet <=