Home
last modified time | relevance | path

Searched refs:cpuid_entries (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
Dx86.c1091 e = &vcpu->arch.cpuid_entries[i]; in cpuid_fix_nx_cap()
1109 struct kvm_cpuid_entry *cpuid_entries; in kvm_vcpu_ioctl_set_cpuid() local
1115 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()
1116 if (!cpuid_entries) in kvm_vcpu_ioctl_set_cpuid()
1119 if (copy_from_user(cpuid_entries, entries, in kvm_vcpu_ioctl_set_cpuid()
1123 vcpu->arch.cpuid_entries[i].function = cpuid_entries[i].function; in kvm_vcpu_ioctl_set_cpuid()
1124 vcpu->arch.cpuid_entries[i].eax = cpuid_entries[i].eax; in kvm_vcpu_ioctl_set_cpuid()
1125 vcpu->arch.cpuid_entries[i].ebx = cpuid_entries[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
1126 vcpu->arch.cpuid_entries[i].ecx = cpuid_entries[i].ecx; in kvm_vcpu_ioctl_set_cpuid()
1127 vcpu->arch.cpuid_entries[i].edx = cpuid_entries[i].edx; in kvm_vcpu_ioctl_set_cpuid()
[all …]
/arch/x86/include/asm/
Dkvm_host.h324 struct kvm_cpuid_entry2 cpuid_entries[KVM_MAX_CPUID_ENTRIES]; member