qubes-mirage-firewall/config.ml

24 lines
583 B
OCaml
Raw Normal View History

2015-12-30 04:52:24 -05:00
(* Copyright (C) 2015, Thomas Leonard <thomas.leonard@unikernel.com>
See the README file for details. *)
(** Configuration for the "mirage" tool. *)
open Mirage
let main =
foreign
2017-03-02 09:52:55 -05:00
~packages:[
package "vchan";
package "cstruct";
package "tcpip" ~sublibs:["stack-direct"; "xen"];
package "mirage-net-xen";
package "mirage-qubes";
package "mirage-nat" ~sublibs:["hashtable"];
package "mirage-logs";
]
"Unikernel.Main" (mclock @-> job)
2015-12-30 04:52:24 -05:00
let () =
2017-03-02 09:52:55 -05:00
register "qubes-firewall" [main $ default_monotonic_clock]
~argv:no_argv