Skip to content

Commit e1c0f47

Browse files
authored
Support for QEMU supervisor in Aleph-vm (#78)
* wip allow qemu backend * switch format for qemu message * iteration on format * iteration v3 * v4 iteration of the format
1 parent d297d88 commit e1c0f47

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

aleph_message/models/execution/environment.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,18 @@ class CpuProperties(HashableModel):
8181
class Config:
8282
extra = Extra.forbid
8383

84+
class HypervisorType(str, Enum):
85+
qemu = 'qemu'
86+
firecracker = 'firecracker'
87+
88+
8489

8590
class FunctionEnvironment(HashableModel):
8691
reproducible: bool = False
8792
internet: bool = False
8893
aleph_api: bool = False
8994
shared_cache: bool = False
95+
hypervisor: Optional[HypervisorType]
9096

9197

9298
class NodeRequirements(HashableModel):

0 commit comments

Comments
 (0)