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

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


  • To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.