hannes changed the topic of #mirage to: bug cleaning day first friday each month from 14:00 UTC till late, meet here. MirageOS 3 is released, happy hacking!
ahf_ has quit [Quit: leaving]
ahf_ has joined #mirage
dtornabene has quit [Quit: Leaving]
<gentauro> hannes: yes, I would expect that the "state" of the unikernel was the same on resume. That would include Network, audio, video, everything should be dumped to a file, which could be tranfered from/to device, just as we do with VMware
<gentauro> I can see there is support for this on Xen, I will give it a try (there is a "pause" button in Qubes OS, but no terminal cmds)
<gentauro> I was speaking with Joe about the possibilities of this. We can normally not serilize lambda functions
<gentauro> Ex: let add = fun x y -> x + y and let add' = add 42
<gentauro> But if we could memory dump a proccess that has given the first value for add' and persist that to memory/disk that afterwards could be loaded
<gentauro> That would be a gamechanger
<gentauro> Specially cos of the size of unikernels ;)
<gentauro> Dump to memory/disk of unikernel -> 5, 10 MB? While persisting a VMware image (based on Linux) -> 300 - 400 MB
<gentauro> Btw, this is something I would like to look into (work). If somebody who has experience with this, could point me in the right direction ;) (docker people perhaps?)
argent_smith has joined #mirage
juga has quit [Remote host closed the connection]
trn has quit [Remote host closed the connection]
trn has joined #mirage
trn has quit [Remote host closed the connection]
trn has joined #mirage
<hannes> gentauro: if you look at the mirageos-devel archives (14/07/2016), there's a long thread about "Lifecycle" -- this may contain some ideas and issues
<hannes> gentauro: and i think various xen support libraries in OCaml have limited support for this, but I fail to remember details..
dobson has quit [Quit: Leaving]
dobson has joined #mirage
<argent_smith> hi ppl. are there any examples of using jbuilder with mirage build pipeline? I have a custom lib and want to integrate it in a mirage app
<hannes> argent_smith: I don't understand. mirage - the command line utility - uses ocamlbuild (this is hardcoded), but you can depend on any library
<hannes> which means any other library can use jbuilder or your favourite build system
<argent_smith> may i use a lib source with jbuild within my app source tree?
<argent_smith> * jbuild file
<hannes> argent_smith: since mirage uses ocamlbuild, the jbuild file will be ignored
<hannes> (reasoning behind this is: mirage used to use ocamlbuild, and how the "cross" compilation is done atm depends on ocamlfind predicates (i.e. external C sources which need to be compiled with -no-red-zone etc.) -- i haven't seen a proposal on how to switch to jbuilder with the mirage utility
<argent_smith> hannes: ok thanks. i'll just learn how to do things right )
<hannes> argent_smith: from what I gather, if I were you, I'd have an opam file for the library, and opam pin it locally, and then depend on it within config.ml
<argent_smith> hannes: great idea, thanks!
argent_smith has quit [Ping timeout: 260 seconds]
<gentauro> > look at the mirageos-devel archives (14/07/2016),
<gentauro> roger
mort___ has joined #mirage
mort___ has quit [Quit: Leaving.]
twold has left #mirage [#mirage]
argent_smith has joined #mirage
argent_smith has quit [Quit: Leaving.]