diff --git a/aleph_message/models/execution/environment.py b/aleph_message/models/execution/environment.py index 1e97073..8b6a428 100644 --- a/aleph_message/models/execution/environment.py +++ b/aleph_message/models/execution/environment.py @@ -77,6 +77,10 @@ class CpuProperties(HashableModel): vendor: Optional[Union[Literal["AuthenticAMD", "GenuineIntel"], str]] = Field( default=None, description="CPU vendor. Allows other vendors." ) + # Features described here differ from the CPU flags (/proc/cpuinfo) since they must be actually available to the VM. + features: Optional[List[str]] = Field( + default=None, description="CPU features required. Examples: 'avx2', 'sev_es', 'sev_snp'.", + ) class Config: extra = Extra.forbid