mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
arch, vmm: Clear AMX CPUID bits if the feature is not enabled
Fixes: #5833 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -745,6 +745,7 @@ impl CpuManager {
|
||||
kvm_hyperv: self.config.kvm_hyperv,
|
||||
#[cfg(feature = "tdx")]
|
||||
tdx,
|
||||
amx: self.config.features.amx,
|
||||
},
|
||||
)
|
||||
.map_err(Error::CommonCpuId)?
|
||||
|
||||
Reference in New Issue
Block a user