spice-display.c (01a9a51ffaf4699827ea6425cb2b834a356e159d) | spice-display.c (be812c0ab7d5ab741d0d87387a75a0e8bb6461e7) |
---|---|
1/* 2 * Copyright (C) 2010 Red Hat, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) version 3 of the License. 8 * --- 1133 unchanged lines hidden (view full) --- 1142 ssd->have_surface = false; 1143 ssd->have_scanout = false; 1144 } 1145#endif 1146 ssd->dcl.con = con; 1147 1148 ssd->qxl.base.sif = &dpy_interface.base; 1149 qemu_spice_add_display_interface(&ssd->qxl, con); | 1/* 2 * Copyright (C) 2010 Red Hat, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) version 3 of the License. 8 * --- 1133 unchanged lines hidden (view full) --- 1142 ssd->have_surface = false; 1143 ssd->have_scanout = false; 1144 } 1145#endif 1146 ssd->dcl.con = con; 1147 1148 ssd->qxl.base.sif = &dpy_interface.base; 1149 qemu_spice_add_display_interface(&ssd->qxl, con); |
1150 1151#if SPICE_SERVER_VERSION >= 0x000e02 /* release 0.14.2 */ 1152 char device_address[256] = ""; 1153 if (qemu_spice_fill_device_address(con, device_address, 256)) { 1154 spice_qxl_set_device_info(&ssd->qxl, 1155 device_address, 1156 qemu_console_get_head(con), 1157 1); 1158 } 1159#endif 1160 |
|
1150 qemu_spice_create_host_memslot(ssd); 1151 1152 register_displaychangelistener(&ssd->dcl); 1153} 1154 1155void qemu_spice_display_init(void) 1156{ 1157 QemuOptsList *olist = qemu_find_opts("spice"); --- 33 unchanged lines hidden --- | 1161 qemu_spice_create_host_memslot(ssd); 1162 1163 register_displaychangelistener(&ssd->dcl); 1164} 1165 1166void qemu_spice_display_init(void) 1167{ 1168 QemuOptsList *olist = qemu_find_opts("spice"); --- 33 unchanged lines hidden --- |