summaryrefslogtreecommitdiff
path: root/server/spice-server.syms
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-04-23 09:57:39 +0200
committerHans de Goede <hdegoede@redhat.com>2013-04-24 09:31:27 +0200
commitf7f876a3cbf5f581f76e66e0972e75e11610e509 (patch)
treec73b06b9bb449f2de3c911ec83ab8e0779e5cd13 /server/spice-server.syms
parent1013b7a5e4dc0805a4fa2b254b87cd56aa3bd157 (diff)
server: Add public spice_qxl_driver_unload method
With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs to know what part of the primary to use for each monitor. If the guest driver does not support this, the server sends messages to the client for a single monitor spanning the entire primary. As soon as the guest calls spice_qxl_monitors_config_async once, we set the red_worker driver_has_monitors_config flag and stop doing this. This is a problem when the driver gets unloaded, for example after a reboot or when switching to a text vc with usermode mode-setting under Linux. To reproduce this start a multi-mon capable Linux guest which uses usermode mode-setting and then once X has started switch to a text vc. Note how the client window does not only not resize, if you try to resize it manually you always keep blackborders since the aspect is wrong. This patch is the spice-server side of fixing this, it adds a new spice_qxl_driver_unload method which clears the driver_has_monitors_config flag. The other patch needed to fix this is in qemu, and will calls this new method from qxl_enter_vga_mode. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'server/spice-server.syms')
-rw-r--r--server/spice-server.syms5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/spice-server.syms b/server/spice-server.syms
index 2091fe04..53edd17a 100644
--- a/server/spice-server.syms
+++ b/server/spice-server.syms
@@ -135,3 +135,8 @@ SPICE_SERVER_0.12.2 {
global:
spice_server_port_event;
} SPICE_SERVER_0.11.4;
+
+SPICE_SERVER_0.12.3 {
+global:
+ spice_qxl_driver_unload;
+} SPICE_SERVER_0.12.2;