Revision 6c0d7ee8 target-i386/kvm.c

b/target-i386/kvm.c
143 143

  
144 144
    kvm_trim_features(&env->cpuid_features,
145 145
        kvm_arch_get_supported_cpuid(env, 1, R_EDX));
146

  
147
    i = env->cpuid_ext_features & CPUID_EXT_HYPERVISOR;
146 148
    kvm_trim_features(&env->cpuid_ext_features,
147 149
        kvm_arch_get_supported_cpuid(env, 1, R_ECX));
150
    env->cpuid_ext_features |= i;
151

  
148 152
    kvm_trim_features(&env->cpuid_ext2_features,
149 153
        kvm_arch_get_supported_cpuid(env, 0x80000001, R_EDX));
150 154
    kvm_trim_features(&env->cpuid_ext3_features,

Also available in: Unified diff