Messages in this thread |  | | Subject | Re: [PATCH v4 2/5] KVM: X86: Expose PKS to guest | From | Paolo Bonzini <> | Date | Fri, 5 Feb 2021 10:23:44 +0100 |
| |
On 05/02/21 09:37, Chenyi Qiang wrote:
> + /* > + * PKS is not yet implemented for shadow paging. > + * If not support VM_{ENTRY, EXIT}_LOAD_IA32_PKRS, > + * don't expose the PKS as well. > + */ > + if (enable_ept && cpu_has_load_ia32_pkrs()) > + kvm_cpu_cap_check_and_set(X86_FEATURE_PKS);
This piece should be a separate patch, added after patch 4.
Paolo
|  |