[Spice-devel] [PATCH] Implement spice_server_set_exit_on_disconnect to enable an option whereby the spice server shuts down on client disconnect.

Jeremy White jwhite at codeweavers.com
Tue Aug 14 17:14:06 PDT 2012


Hmm.  I'm not sure this is complete; in writing the patch for the qxl
driver, I realized I wanted to  key off of SPICE_SERVER_VERSION,
which I want to bump to 0x000b02.  But then if I do that, how should
I map out spice-server.syms?  This is what I used:

> diff --git a/server/spice-server.syms b/server/spice-server.syms
> index a45951c..17c2024 100644
> --- a/server/spice-server.syms
> +++ b/server/spice-server.syms
> @@ -116,3 +116,7 @@ SPICE_SERVER_0.10.3 {
>  SPICE_SERVER_0.10.4 {
>      spice_qxl_monitors_config_async;
>  } SPICE_SERVER_0.10.3;
> +
> +SPICE_SERVER_0.11.1 {
> +    spice_server_set_exit_on_disconnect
> +} SPICE_SERVER_0.10.4;

Should that have been 0.11.2?

Cheers,

Jeremy


More information about the Spice-devel mailing list