Skip to content

Commit

Permalink
Support for QEMU supervisor in Aleph-vm (#78)
Browse files Browse the repository at this point in the history
* wip allow qemu backend

* switch format for qemu message

* iteration on format

* iteration v3

* v4 iteration of the format
  • Loading branch information
olethanh authored Nov 27, 2023
1 parent d297d88 commit e1c0f47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aleph_message/models/execution/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ class CpuProperties(HashableModel):
class Config:
extra = Extra.forbid

class HypervisorType(str, Enum):
qemu = 'qemu'
firecracker = 'firecracker'



class FunctionEnvironment(HashableModel):
reproducible: bool = False
internet: bool = False
aleph_api: bool = False
shared_cache: bool = False
hypervisor: Optional[HypervisorType]


class NodeRequirements(HashableModel):
Expand Down

0 comments on commit e1c0f47

Please sign in to comment.