Lines Matching +full:display +full:- +full:backend

2  * QEMU external Spice client display driver
4 * Copyright (c) 2018 Marc-André Lureau <marcandre.lureau@redhat.com>
30 #include "ui/spice-display.h"
31 #include "qemu/config-file.h"
32 #include "qemu/error-report.h"
37 #include "io/channel-command.h"
52 void (*parent_open)(Chardev *chr, ChardevBackend *backend,
56 #define TYPE_CHARDEV_VC "chardev-vc"
64 be->type = CHARDEV_BACKEND_KIND_SPICEPORT; in OBJECT_DECLARE_TYPE()
65 be->u.spiceport.data = g_new0(ChardevSpicePort, 1); in OBJECT_DECLARE_TYPE()
71 ChardevBackend *backend, in vc_chr_open() argument
79 if (strstart(chr->label, "serial", NULL)) { in vc_chr_open()
81 } else if (strstart(chr->label, "parallel", NULL)) { in vc_chr_open()
83 } else if (strstart(chr->label, "compat_monitor", NULL)) { in vc_chr_open()
88 be->u.spiceport.data->fqdn = fqdn ? in vc_chr_open()
89 g_strdup(fqdn) : g_strdup_printf("org.qemu.console.%s", chr->label); in vc_chr_open()
90 vc->parent_open(chr, be, be_opened, errp); in vc_chr_open()
99 static void vc_chr_parse(QemuOpts *opts, ChardevBackend *backend, Error **errp) in vc_chr_parse() argument
109 vc->parent_open = cc->open; in char_vc_class_init()
111 cc->parse = vc_chr_parse; in char_vc_class_init()
112 cc->open = vc_chr_open; in char_vc_class_init()
113 cc->chr_set_echo = vc_chr_set_echo; in char_vc_class_init()
142 if (opts->has_full_screen) { in spice_app_display_early_init()
143 error_report("spice-app full-screen isn't supported yet."); in spice_app_display_early_init()
146 if (opts->has_window_close) { in spice_app_display_early_init()
147 error_report("spice-app window-close isn't supported yet."); in spice_app_display_early_init()
156 if (g_mkdir_with_parents(app_dir, S_IRWXU) < -1) { in spice_app_display_early_init()
166 err->message); in spice_app_display_early_init()
172 error_report("spice-app missing spice support"); in spice_app_display_early_init()
180 qemu_opt_set(qopts, "disable-ticketing", "on", &error_abort); in spice_app_display_early_init()
183 qemu_opt_set(qopts, "image-compression", "off", &error_abort); in spice_app_display_early_init()
184 qemu_opt_set(qopts, "streaming-video", "off", &error_abort); in spice_app_display_early_init()
186 qemu_opt_set(qopts, "gl", opts->has_gl ? "on" : "off", &error_abort); in spice_app_display_early_init()
187 display_opengl = opts->has_gl; in spice_app_display_early_init()
198 be->u.spiceport.data->fqdn = g_strdup("org.qemu.monitor.qmp.0"); in spice_app_display_init()
208 info_report("Launching display with URI: %s", uri); in spice_app_display_init()
211 error_report("Failed to launch %s URI: %s", uri, err->message); in spice_app_display_init()
213 "such as virt-viewer 8.0"); in spice_app_display_init()
233 module_dep("ui-spice-core");
234 module_dep("chardev-spice");