mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
vmm: Ensure default deserialisation for "amx" feature bit
This allows a migration from a binary not compiled with struct member to be completed. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
19b006eb84
commit
0e52be0909
@ -473,6 +473,7 @@ pub struct CpuAffinity {
|
||||
#[derive(Clone, Debug, Default, PartialEq, Eq, Deserialize, Serialize)]
|
||||
pub struct CpuFeatures {
|
||||
#[cfg(all(feature = "amx", target_arch = "x86_64"))]
|
||||
#[serde(default)]
|
||||
pub amx: bool,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user