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-devel

Re: [Xen-devel] some questions about the HVM

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] some questions about the HVM
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Tue, 30 Mar 2010 10:57:37 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, WangWei???? <wangwei.cs@xxxxxxxxx>
Delivery-date: Tue, 30 Mar 2010 02:58:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=oyigTwX3FHSj68nhrgsK0L7aRniy+Xz4JUpbGFuGij0=; b=Jca926ri82O94MjG7YmghrOnqzBG1DjuQv8K9jxNJolKeCZN9qiwHImkP69RNgyZ/w xRkSVDY16SP7FFTIUqPnK4YjQ18IExOAOVXVBSe4wRTMqLdV53kb7UIKiXwhIMryuiuI yDDOwqhCiBuxKNYglNHkPW4Fedia9uJ5Ojb/g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mSYRoqZnF3EY4fz0QrlgsIsBaroprd9MEHJuCBYm8yHg3mMcXVI+q6Je8kdP4Z64zg jYQhsxQv07/2Z44/O+J6pzK1Xobg53HNvMOhlYrOwMz+S558Ae2zDLJ2A685akNM3Cof g0E0+ReqiMl6BiArQYT/vI8poxiquH1udVm7g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100326165856.GA4975@xxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <e85906171003260700o7b607f64hca5d97e65513756f@xxxxxxxxxxxxxx> <20100326165856.GA4975@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Mar 26, 2010 at 5:58 PM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
>> I have a question about the VMEXIT in HVM.
>> Does the behavior of modifying the pte of guest OS cause a vmexit.
>
> When using shadow pagetables, yes (more precisely, modifying a page that
> is shadowed causes a VMEXIT)

...but it's complicated.  We have an optimization called "out-of-sync"
such that modifying PTE may not cause a VMEXIT; instead, the VMEXIT
may happen when the virtual address the PTE controls is dereferenced
(akin to a TLB miss).  As Tim said, this is only in shadow mode, if
HAP (EPT or NPT) is not present / disabled.

 -George

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

<Prev in Thread] Current Thread [Next in Thread>