vmmd: unikernel_info no longer transfers the unikernel image
regression introduced in dfd22be62b
(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
This commit is contained in:
parent
1fbec307ab
commit
0c5af23848
|
@ -224,7 +224,9 @@ let handle_unikernel_cmd t id = function
|
||||||
Logs.debug (fun m -> m "info %a" Name.pp id) ;
|
Logs.debug (fun m -> m "info %a" Name.pp id) ;
|
||||||
let vms =
|
let vms =
|
||||||
Vmm_trie.fold id t.resources.Vmm_resources.unikernels
|
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
|
in
|
||||||
begin match vms with
|
begin match vms with
|
||||||
|
|
Loading…
Reference in a new issue