From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH V4 7/7] KVM, pkeys: disable PKU feature without ept Date: Sun, 6 Mar 2016 17:28:20 +0800 Message-ID: <56DBF834.1020309@linux.intel.com> References: <1457177252-7577-1-git-send-email-huaitong.han@intel.com> <1457177252-7577-8-git-send-email-huaitong.han@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Huaitong Han , pbonzini@redhat.com, gleb@kernel.org Return-path: Received: from mga09.intel.com ([134.134.136.24]:39149 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbcCFJ2l (ORCPT ); Sun, 6 Mar 2016 04:28:41 -0500 In-Reply-To: <1457177252-7577-8-git-send-email-huaitong.han@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 03/05/2016 07:27 PM, Huaitong Han wrote: > This patch disables CPUID:PKU without ept, because pkeys is not yet > implemented for shadow paging. > Does the PKRU is loaded/saved during vm-enter/vm-exit? BTW, I just very quickly go through the spec, it seems VMX lacks the ability to intercept the access to PKRU. Right?