Re: [Xen-devel] [PATCH 01/10] x86/hvm: pkeys, add pkeys support for cpuid handling

2015-11-19 Thread Wu, Feng
n.nakaj...@intel.com>; Dong, Eddie <eddie.d...@intel.com>; Tian, > Kevin <kevin.t...@intel.com>; george.dun...@eu.citrix.com; > ian.jack...@eu.citrix.com; stefano.stabell...@eu.citrix.com; > ian.campb...@citrix.com; wei.l...@citrix.com; k...@xen.org > Cc: xen-devel@lists.xe

Re: [Xen-devel] [PATCH 01/10] x86/hvm: pkeys, add pkeys support for cpuid handling

2015-11-16 Thread Andrew Cooper
On 16/11/15 10:31, Huaitong Han wrote: > This patch adds pkeys support for cpuid handing. > > Pkeys hardware support is CPUID.7.0.ECX[3]:PKU. software support is > CPUID.7.0.ECX[4]:OSPKE and it reflects the support setting of CR4.PKE. > > Signed-off-by: Huaitong Han > >

[Xen-devel] [PATCH 01/10] x86/hvm: pkeys, add pkeys support for cpuid handling

2015-11-16 Thread Huaitong Han
This patch adds pkeys support for cpuid handing. Pkeys hardware support is CPUID.7.0.ECX[3]:PKU. software support is CPUID.7.0.ECX[4]:OSPKE and it reflects the support setting of CR4.PKE. Signed-off-by: Huaitong Han diff --git a/tools/libxc/xc_cpufeature.h