From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [patch 2/5] KVM: MMU: allow pinning spte translations (TDP-only) Date: Thu, 19 Jun 2014 07:06:58 -0700 Message-ID: <20140619140658.GR8178@tassilo.jf.intel.com> References: <20140618231203.846608908@amt.cnet> <20140618231521.569025131@amt.cnet> <53A298C2.4040005@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mtosatti@redhat.com, kvm@vger.kernel.org, pbonzini@redhat.com, xiaoguangrong@linux.vnet.ibm.com, gleb@kernel.org To: Avi Kivity Return-path: Received: from mga02.intel.com ([134.134.136.20]:54692 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754027AbaFSOHF (ORCPT ); Thu, 19 Jun 2014 10:07:05 -0400 Content-Disposition: inline In-Reply-To: <53A298C2.4040005@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: > >+ * Failure to instantiate pages will abort guest entry. > >+ * > >+ * Page frames should be pinned with get_page in advance. > >+ * > >+ * Pinning is not guaranteed while executing as L2 guest. > > Does this undermine security? It should not. In the worst case it'll randomly lose PEBS records. -Andi