[libvirt] [PATCH] cpu: Add support for pku and ospke Intel features for Memory Protection Keys

Jiri Denemark jdenemar at redhat.com
Mon Dec 5 22:02:14 UTC 2016


On Fri, Nov 25, 2016 at 16:44:30 +0800, Lin Ma wrote:
> qemu commit: f74eefe0
> https://lwn.net/Articles/667156/
> 
> Signed-off-by: Lin Ma <lma at suse.com>
> ---
>  src/cpu/cpu_map.xml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
> index 6da8321..dca5720 100644
> --- a/src/cpu/cpu_map.xml
> +++ b/src/cpu/cpu_map.xml
> @@ -255,6 +255,13 @@
>        <cpuid eax_in='0x07' ebx='0x10000000'/>
>      </feature>
>  
> +    <feature name='pku'>
> +      <cpuid eax_in='0x07' ecx='0x00000008'/>
> +    </feature>
> +    <feature name='ospke'>
> +      <cpuid eax_in='0x07' ecx='0x00000010'/>
> +    </feature>
> +

This patch needs to be rebased on top of your earlier patch adding
AVX512 features. So I did that and made sure the new feature are placed
correctly.

ACK and pushed.

Jirka




More information about the libvir-list mailing list