From: Ian Jackson Subject: Re: [PATCH v4 00/10] Nested VMX: Add virtual EPT & VPID support to L1 VMM Date: Tue, 12 Feb 2013 16:22:58 +0000 Message-ID: <20762.27746.326464.442488@mariner.uk.xensource.com> References: <1356359194-5321-1-git-send-email-xiantao.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1356359194-5321-1-git-send-email-xiantao.zhang@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xiantao Zhang Cc: keir@xen.org, jun.nakajima@intel.com, eddie.dong@intel.com, tim@xen.org, xen-devel@lists.xen.org, JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org Xiantao Zhang writes ("[Xen-devel] [PATCH v4 00/10] Nested VMX: Add virtual EPT & VPID support to L1 VMM"): > From: Zhang Xiantao > > With virtual EPT support, L1 hyerpvisor can use EPT hardware for L2 guest's memory virtualization. > In this way, L2 guest's performance can be improved sharply. > According to our testing, some benchmarks can show > 5x performance gain. I'm no expert on the areas of code you're touching, so perhaps you've already done this, but: I think there may need to be some high-level knob to turn this feature on and off (probably, for individual guests). This is because this feature exposes a richer attack surface for guests (AFAICT). I know there's already a feature check for nested HVM, but I wonder if that's enough. I'd like to hear other people's opinions on this point. Thanks, Ian.