Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion device-usage/block/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ open Mirage
let main = main "Unikernel.Main" (block @-> job)

let img =
if_impl Key.is_solo5 (block_of_file "storage") (block_of_file "disk.img")
if_impl Key.is_solo5 (block_of_file "storage")
(if_impl Key.is_unikraft (block_of_file "0") (block_of_file "disk.img"))

let () = register "block_test" [ main $ img ]
3 changes: 2 additions & 1 deletion device-usage/disk-lottery/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let main =
~packages:[ package "checkseum"; package "cstruct"; package "fmt" ]

let img =
if_impl Key.is_solo5 (block_of_file "storage") (block_of_file "disk.img")
if_impl Key.is_solo5 (block_of_file "storage")
(if_impl Key.is_unikraft (block_of_file "0") (block_of_file "disk.img"))

let () = register "lottery" [ main $ img ]