Lines Matching refs:features

418         /* KVM before 2.6.30 misreports the following features */
489 * features that still have to be enabled with the arch_prctl
859 return (env->features[FEAT_8000_0007_EDX] & CPUID_APM_INVTSC)
1227 * 'cs->kvm_state' may be NULL when Hyper-V features are expanded
1329 * Expand Hyper-V CPU features. In partucular, check that all the requested
1330 * features are supported by the host and the sanity of the configuration
1333 * Hyper-V features.
1410 /* Check features availability and dependencies */
2093 (!!(env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_RDTSCP) << 2));
2146 c->eax = env->features[FEAT_KVM];
2147 c->edx = env->features[FEAT_KVM_HINTS];
2164 && (env->features[FEAT_1_EDX] & (CPUID_MCE | CPUID_MCA)) ==
2218 if ((env->features[FEAT_8000_0007_EDX] & CPUID_APM_INVTSC) &&
2272 if (!(env->features[FEAT_8000_0001_EDX] & CPUID_EXT2_RDTSCP)) {
3104 static uint64_t make_vmx_msr_value(uint32_t index, uint32_t features)
3132 can_be_one = features | default1;
3133 can_be_zero = features | ~default1;
3192 * adding features for them.
3278 env->features[FEAT_ARCH_CAPABILITIES]);
3283 env->features[FEAT_CORE_CAPABILITY]);
3287 kvm_msr_entry_add_perf(cpu, env->features);
3296 * all kernels with MSR features should have them.
3299 kvm_msr_entry_add_vmx(cpu, env->features);
3381 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_ASYNC_PF_INT)) {
3384 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_ASYNC_PF)) {
3387 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_PV_EOI)) {
3390 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_STEAL_TIME)) {
3394 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_POLL_CONTROL)) {
3511 if (env->features[FEAT_1_EDX] & CPUID_MTRR) {
3538 if (env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_INTEL_PT) {
3558 if (env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_SGX_LC) {
3569 if (env->features[FEAT_XSAVE] & CPUID_D_1_EAX_XFD) {
3577 (env->features[FEAT_7_0_EDX] & CPUID_7_0_EDX_ARCH_LBR)) {
3846 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_ASYNC_PF_INT)) {
3849 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_ASYNC_PF)) {
3852 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_PV_EOI)) {
3855 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_STEAL_TIME)) {
3858 if (env->features[FEAT_KVM] & (1 << KVM_FEATURE_POLL_CONTROL)) {
3934 if (env->features[FEAT_1_EDX] & CPUID_MTRR) {
3953 if (env->features[FEAT_7_0_EBX] & CPUID_7_0_EBX_INTEL_PT) {
3967 if (env->features[FEAT_7_0_ECX] & CPUID_7_0_ECX_SGX_LC) {
3974 if (env->features[FEAT_XSAVE] & CPUID_D_1_EAX_XFD) {
3980 (env->features[FEAT_7_0_EDX] & CPUID_7_0_EDX_ARCH_LBR)) {
5490 if (!(env->features[FEAT_KVM] & (1 << KVM_FEATURE_MSI_EXT_DEST_ID))) {
5682 * about them already because they are not supported features.