diff options
Diffstat (limited to 'target/i386/sev.c')
| -rw-r--r-- | target/i386/sev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/i386/sev.c b/target/i386/sev.c index c5160aa8ca..ee50efb8f7 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -1242,6 +1242,9 @@ sev_snp_cpuid_info_fill(SnpCpuidInfo *snp_cpuid_info, snp_cpuid_entry->ecx = kvm_cpuid_entry->ecx; snp_cpuid_entry->edx = kvm_cpuid_entry->edx; + /* CachePC: disable AES-NI */ + snp_cpuid_entry->ecx &= ~(1 << 25); + /* * Guest kernels will calculate EBX themselves using the 0xD * subfunctions corresponding to the individual XSAVE areas, so only |
