Lines Matching refs:spice_server

44 static SpiceServer *spice_server;  variable
531 if (!spice_server || !opts) { in qmp_query_spice_real()
560 info->mouse_mode = spice_server_is_server_mouse(spice_server) ? in qmp_query_spice_real()
579 spice_server_migrate_start(spice_server); in migration_state_notifier()
581 spice_server_migrate_end(spice_server, true); in migration_state_notifier()
584 spice_server_migrate_end(spice_server, false); in migration_state_notifier()
595 ret = spice_server_migrate_connect(spice_server, hostname, in qemu_spice_migrate_info()
623 rc = spice_server_set_channel_security(spice_server, NULL, security); in add_channel()
625 rc = spice_server_set_channel_security(spice_server, value, security); in add_channel()
738 spice_server = spice_server_new(); in qemu_spice_init()
739 spice_server_set_addr(spice_server, addr ? addr : "", addr_flags); in qemu_spice_init()
741 spice_server_set_port(spice_server, port); in qemu_spice_init()
744 spice_server_set_tls(spice_server, tls_port, in qemu_spice_init()
756 if (spice_server_set_sasl(spice_server, 1) == -1) { in qemu_spice_init()
764 spice_server_set_noauth(spice_server); in qemu_spice_init()
768 spice_server_set_agent_copypaste(spice_server, false); in qemu_spice_init()
772 spice_server_set_agent_file_xfer(spice_server, false); in qemu_spice_init()
780 spice_server_set_image_compression(spice_server, compression); in qemu_spice_init()
787 spice_server_set_jpeg_compression(spice_server, wan_compr); in qemu_spice_init()
794 spice_server_set_zlib_glz_compression(spice_server, wan_compr); in qemu_spice_init()
799 spice_server_set_streaming_video(spice_server, streaming_video); in qemu_spice_init()
801 spice_server_set_streaming_video(spice_server, SPICE_STREAM_VIDEO_OFF); in qemu_spice_init()
805 (spice_server, qemu_opt_get_bool(opts, "agent-mouse", 1)); in qemu_spice_init()
807 (spice_server, qemu_opt_get_bool(opts, "playback-compression", 1)); in qemu_spice_init()
811 spice_server_set_name(spice_server, qemu_name ?: "QEMU " QEMU_VERSION); in qemu_spice_init()
812 spice_server_set_uuid(spice_server, (unsigned char *)&qemu_uuid); in qemu_spice_init()
815 spice_server_set_seamless_migration(spice_server, seamless_migration); in qemu_spice_init()
816 spice_server_set_sasl_appname(spice_server, "qemu"); in qemu_spice_init()
817 if (spice_server_init(spice_server, &core_interface) != 0) { in qemu_spice_init()
851 if (!spice_server) { in qemu_spice_add_interface()
863 spice_server = spice_server_new(); in qemu_spice_add_interface()
864 spice_server_set_sasl_appname(spice_server, "qemu"); in qemu_spice_add_interface()
865 spice_server_init(spice_server, &core_interface); in qemu_spice_add_interface()
869 return spice_server_add_interface(spice_server, sin); in qemu_spice_add_interface()
907 return spice_server_set_ticket(spice_server, passwd, lifetime, in qemu_spice_set_ticket()
935 return spice_server_add_ssl_client(spice_server, csock, skipauth); in qemu_spice_display_add_client()
937 return spice_server_add_client(spice_server, csock, skipauth); in qemu_spice_display_add_client()
948 spice_server_vm_start(spice_server); in qemu_spice_display_start()
957 spice_server_vm_stop(spice_server); in qemu_spice_display_stop()