From dfd22be62bbbd222fc8526604d02a8656ec5b3c8 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sun, 20 Jan 2019 20:35:55 +0100 Subject: [PATCH] Vmm_unix: don't reset image of a config --- src/vmm_unix.ml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vmm_unix.ml b/src/vmm_unix.ml index ce4601b..8ccc02d 100644 --- a/src/vmm_unix.ml +++ b/src/vmm_unix.ml @@ -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, _, _) ->