Lines Matching refs:vnc

644     const libxl_vnc_info *vnc = NULL;  in libxl__dm_vnc()  local
646 vnc = &guest_config->b_info.u.hvm.vnc; in libxl__dm_vnc()
648 vnc = &guest_config->vfbs[0].vnc; in libxl__dm_vnc()
650 return vnc && libxl_defbool_val(vnc->enable) ? vnc : NULL; in libxl__dm_vnc()
683 const libxl_vnc_info *vnc = libxl__dm_vnc(guest_config); in libxl__build_device_model_args_old() local
702 if (vnc) { in libxl__build_device_model_args_old()
715 if (vnc->listen) { in libxl__build_device_model_args_old()
716 if (strchr(vnc->listen, ':') != NULL) { in libxl__build_device_model_args_old()
717 if (vnc->display) { in libxl__build_device_model_args_old()
721 vncarg = vnc->listen; in libxl__build_device_model_args_old()
723 vncarg = GCSPRINTF("%s:%d", vnc->listen, vnc->display); in libxl__build_device_model_args_old()
726 vncarg = GCSPRINTF("127.0.0.1:%d", vnc->display); in libxl__build_device_model_args_old()
728 if (vnc->passwd && vnc->passwd[0]) { in libxl__build_device_model_args_old()
734 if (libxl_defbool_val(vnc->findunused)) { in libxl__build_device_model_args_old()
792 if (libxl_defbool_val(b_info->u.hvm.nographic) && (!sdl && !vnc)) { in libxl__build_device_model_args_old()
901 if (!sdl && !vnc) in libxl__build_device_model_args_old()
1183 const libxl_vnc_info *vnc = libxl__dm_vnc(guest_config); in libxl__build_device_model_args_new() local
1284 if (vnc && !is_stubdom) { in libxl__build_device_model_args_new()
1297 if (vnc->listen) { in libxl__build_device_model_args_new()
1298 if (strchr(vnc->listen, ':') != NULL) { in libxl__build_device_model_args_new()
1299 if (vnc->display) { in libxl__build_device_model_args_new()
1304 vncarg = vnc->listen; in libxl__build_device_model_args_new()
1306 vncarg = GCSPRINTF("%s:%d", vnc->listen, vnc->display); in libxl__build_device_model_args_new()
1309 vncarg = GCSPRINTF("127.0.0.1:%d", vnc->display); in libxl__build_device_model_args_new()
1311 if (vnc->passwd && vnc->passwd[0]) { in libxl__build_device_model_args_new()
1315 if (libxl_defbool_val(vnc->findunused)) { in libxl__build_device_model_args_new()
1410 if (libxl_defbool_val(b_info->u.hvm.nographic) && (!sdl && !vnc)) { in libxl__build_device_model_args_new()
1704 if (!sdl && !vnc) { in libxl__build_device_model_args_new()
2083 vfb->vnc = b_info->u.hvm.vnc; in libxl__vfb_and_vkb_from_hvm_guest_config()
2318 if (libxl_defbool_val(guest_config->b_info.u.hvm.vnc.enable) in libxl__spawn_stub_dm()
2830 const libxl_vnc_info *vnc = libxl__dm_vnc(guest_config); in libxl__spawn_local_dm() local
2927 if (vnc && vnc->passwd) { in libxl__spawn_local_dm()
2938 pass_stuff[1] = vnc->passwd; in libxl__spawn_local_dm()
3220 const libxl_vnc_info *vnc = libxl__dm_vnc(dmss->guest_config); in device_model_postconfig_vnc() local
3259 if (vnc && vnc->passwd && vnc->passwd[0]) { in device_model_postconfig_vnc()
3261 libxl__qmp_param_add_string(gc, &args, "password", vnc->passwd); in device_model_postconfig_vnc()
3284 const libxl_vnc_info *vnc = libxl__dm_vnc(dmss->guest_config); in device_model_postconfig_vnc_passwd() local
3296 "%s", vnc->passwd); in device_model_postconfig_vnc_passwd()