From 0c5af23848829a57b299605125e1ac852c3432ad Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sat, 25 Apr 2020 16:36:47 +0200 Subject: [PATCH] vmmd: unikernel_info no longer transfers the unikernel image regression introduced in dfd22be62bbbd222fc8526604d02a8656ec5b3c8 (which prepared dumping to a file, and restart-on-failure) this is not desired from a bandwidth point of view, if it is considered to be a useful feature, there should be a separate command for it --- src/vmm_vmmd.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vmm_vmmd.ml b/src/vmm_vmmd.ml index ee91f4c..ad6c611 100644 --- a/src/vmm_vmmd.ml +++ b/src/vmm_vmmd.ml @@ -224,7 +224,9 @@ let handle_unikernel_cmd t id = function Logs.debug (fun m -> m "info %a" Name.pp id) ; let vms = Vmm_trie.fold id t.resources.Vmm_resources.unikernels - (fun id vm vms -> (id, vm.Unikernel.config) :: vms) + (fun id vm vms -> + let cfg = { vm.Unikernel.config with image = Cstruct.empty } in + (id, cfg) :: vms) [] in begin match vms with