Searched refs:kvm_cpuid_info (Results 1 – 1 of 1) sorted by relevance
1153 const KvmCpuidInfo *kvm_cpuid_info) in sev_snp_cpuid_info_fill() argument1157 if (kvm_cpuid_info->cpuid.nent > SNP_CPUID_FUNCTION_MAXCOUNT) { in sev_snp_cpuid_info_fill()1159 kvm_cpuid_info->cpuid.nent, SNP_CPUID_FUNCTION_MAXCOUNT); in sev_snp_cpuid_info_fill()1165 for (i = 0; i < kvm_cpuid_info->cpuid.nent; i++) { in sev_snp_cpuid_info_fill()1169 kvm_cpuid_entry = &kvm_cpuid_info->entries[i]; in sev_snp_cpuid_info_fill()1203 KvmCpuidInfo kvm_cpuid_info = {0}; in snp_launch_update_cpuid() local1213 kvm_cpuid_info.cpuid.nent = ++i; in snp_launch_update_cpuid()1214 ret = kvm_vcpu_ioctl(cs, KVM_GET_CPUID2, &kvm_cpuid_info); in snp_launch_update_cpuid()1223 ret = sev_snp_cpuid_info_fill(&snp_cpuid_info, &kvm_cpuid_info); in snp_launch_update_cpuid()