Home
last modified time | relevance | path

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

/openbmc/qemu/target/i386/
H A Dsev.c1167 SnpCpuidFunc *snp_cpuid_entry; in sev_snp_cpuid_info_fill() local
1170 snp_cpuid_entry = &snp_cpuid_info->entries[i]; in sev_snp_cpuid_info_fill()
1176 snp_cpuid_entry->eax = kvm_cpuid_entry->eax; in sev_snp_cpuid_info_fill()
1177 snp_cpuid_entry->ebx = kvm_cpuid_entry->ebx; in sev_snp_cpuid_info_fill()
1178 snp_cpuid_entry->ecx = kvm_cpuid_entry->ecx; in sev_snp_cpuid_info_fill()
1179 snp_cpuid_entry->edx = kvm_cpuid_entry->edx; in sev_snp_cpuid_info_fill()
1187 if (snp_cpuid_entry->eax_in == 0xD && in sev_snp_cpuid_info_fill()
1188 (snp_cpuid_entry->ecx_in == 0x0 || snp_cpuid_entry->ecx_in == 0x1)) { in sev_snp_cpuid_info_fill()
1189 snp_cpuid_entry->ebx = 0x240; in sev_snp_cpuid_info_fill()
1190 snp_cpuid_entry->xcr0_in = 1; in sev_snp_cpuid_info_fill()
[all …]