Hi,
First, thanks for your effort! So I don't know if "mirage configure" actually supports your case of referring to another module from within config.ml
This is indeed what is needed to have a fully supported backend. Before that, I think the first step (the harder one) is to get your implementation working on Linux. Just write complete https://github.com/bbrietzke/sad_butter/blob/redis_kv/src/rediskv.ml to make it work locally for you (compile it as a normal OCaml project, using ocamlbuild for instance), but everytime you want to do a syscall (network or disk access) call a function from a parameter of your functor instead of the one provided by the Unix module.
Once this is working fine locally for you, test it manually be applying different implementations for the functor arguments. Then extend unikernel.ml to use your functor. And finally we can discuss on how to integrate it properly in the mirage tool :p
Best, Thomas
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxxhttp://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|