Searched refs:kvm_cpu_caps (Results 1 – 2 of 2) sorted by relevance
11 extern u32 kvm_cpu_caps[NR_KVM_CPU_CAPS] __read_mostly;66 BUILD_BUG_ON(leaf >= ARRAY_SIZE(kvm_cpu_caps)); in cpuid_entry_override()67 *reg = kvm_cpu_caps[leaf]; in cpuid_entry_override()184 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()192 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()200 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()
36 u32 kvm_cpu_caps[NR_KVM_CPU_CAPS] __read_mostly; variable37 EXPORT_SYMBOL_GPL(kvm_cpu_caps);583 kvm_cpu_caps[leaf] &= *__cpuid_entry_get_reg(&entry, cpuid.reg); in __kvm_cpu_cap_mask()592 kvm_cpu_caps[leaf] = mask; in kvm_cpu_cap_init_kvm_defined()602 kvm_cpu_caps[leaf] &= mask; in kvm_cpu_cap_mask()618 memset(kvm_cpu_caps, 0, sizeof(kvm_cpu_caps)); in kvm_set_cpu_caps()620 BUILD_BUG_ON(sizeof(kvm_cpu_caps) - (NKVMCAPINTS * sizeof(*kvm_cpu_caps)) > in kvm_set_cpu_caps()623 memcpy(&kvm_cpu_caps, &boot_cpu_data.x86_capability, in kvm_set_cpu_caps()624 sizeof(kvm_cpu_caps) - (NKVMCAPINTS * sizeof(*kvm_cpu_caps))); in kvm_set_cpu_caps()