Vmm_unix: don't reset image of a config

This commit is contained in:
Hannes Mehnert 2019-01-20 20:35:55 +01:00
parent accb21b8b7
commit dfd22be62b
1 changed files with 0 additions and 2 deletions

View File

@ -179,8 +179,6 @@ let exec name config taps block =
(* we gave a copy (well, two copies) of that file descriptor to the solo5
process and don't really need it here anymore... *)
close stdout ;
(* this should get rid of the vmimage from vmmd's memory! *)
let config = Unikernel.{ config with image = (fst config.Unikernel.image, Cstruct.create 0) } in
Ok Unikernel.{ config ; cmd ; pid ; taps }
with
Unix.Unix_error (e, _, _) ->