Searched refs:cpuid_entries (Results 1 – 2 of 2) sorted by relevance
123 e = &vcpu->arch.cpuid_entries[i]; in cpuid_fix_nx_cap()141 struct kvm_cpuid_entry *cpuid_entries; in kvm_vcpu_ioctl_set_cpuid() local147 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()148 if (!cpuid_entries) in kvm_vcpu_ioctl_set_cpuid()151 if (copy_from_user(cpuid_entries, entries, in kvm_vcpu_ioctl_set_cpuid()155 vcpu->arch.cpuid_entries[i].function = cpuid_entries[i].function; in kvm_vcpu_ioctl_set_cpuid()156 vcpu->arch.cpuid_entries[i].eax = cpuid_entries[i].eax; in kvm_vcpu_ioctl_set_cpuid()157 vcpu->arch.cpuid_entries[i].ebx = cpuid_entries[i].ebx; in kvm_vcpu_ioctl_set_cpuid()158 vcpu->arch.cpuid_entries[i].ecx = cpuid_entries[i].ecx; in kvm_vcpu_ioctl_set_cpuid()159 vcpu->arch.cpuid_entries[i].edx = cpuid_entries[i].edx; in kvm_vcpu_ioctl_set_cpuid()[all …]
423 struct kvm_cpuid_entry2 cpuid_entries[KVM_MAX_CPUID_ENTRIES]; member