We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d1592d + 24e8927 commit 6d776feCopy full SHA for 6d776fe
ocaml/xenopsd/xc/xenops_server_xen.ml
@@ -2313,10 +2313,12 @@ module VM = struct
2313
)
2314
(create_device_model_config vm vmextra vbds vifs vgpus vusbs) ;
2315
match vm.Vm.ty with
2316
- | Vm.PV {vncterm= true; vncterm_ip= ip; _}
2317
- | Vm.PVinPVH {vncterm= true; vncterm_ip= ip; _} ->
2318
- Service.PV_Vnc.start ~xs ?ip di.Xenctrl.domid
2319
- | _ ->
+ | PV {vncterm; vncterm_ip= ip; _}
+ | PVH {vncterm; vncterm_ip= ip; _}
+ | PVinPVH {vncterm; vncterm_ip= ip; _} ->
+ if vncterm then
2320
+ Service.PV_Vnc.start ~xs ?ip di.Xenctrl.domid
2321
+ | HVM _ ->
2322
()
2323
with Device.Ioemu_failed (name, msg) ->
2324
raise (Xenopsd_error (Failed_to_start_emulator (vm.Vm.id, name, msg)))
0 commit comments