]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - debian/patches/old/modify-query-spice.patch
refer to the new repository
[pve-qemu-kvm.git] / debian / patches / old / modify-query-spice.patch
diff --git a/debian/patches/old/modify-query-spice.patch b/debian/patches/old/modify-query-spice.patch
deleted file mode 100644 (file)
index 4e5222d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-Return last ticket with query-spice
-
-We use this to implement spice seemless migration. The current spice code
-reconnect to the migrated VM using the original ticket. So we need 
-a way to read the original ticket.
-
-Limits: This only works for a single spice session.
-
-
-Index: new/ui/spice-core.c
-===================================================================
---- new.orig/ui/spice-core.c   2014-11-20 06:45:06.000000000 +0100
-+++ new/ui/spice-core.c        2014-11-20 07:26:43.000000000 +0100
-@@ -544,6 +544,11 @@
-     micro = SPICE_SERVER_VERSION & 0xff;
-     info->compiled_version = g_strdup_printf("%d.%d.%d", major, minor, micro);
-+    if (auth_passwd) {
-+        info->has_ticket = true;
-+        info->ticket =  g_strdup(auth_passwd);
-+    }
-+
-     if (port) {
-         info->has_port = true;
-         info->port = port;
-Index: new/qapi-schema.json
-===================================================================
---- new.orig/qapi-schema.json  2014-11-20 07:26:39.000000000 +0100
-+++ new/qapi-schema.json       2014-11-20 07:26:43.000000000 +0100
-@@ -868,11 +868,14 @@
- #
- # @channels: a list of @SpiceChannel for each active spice channel
- #
-+# @ticket: #optional The last ticket set with set_password
-+#
- # Since: 0.14.0
- ##
- { 'struct': 'SpiceInfo',
-   'data': {'enabled': 'bool', 'migrated': 'bool', '*host': 'str', '*port': 'int',
-            '*tls-port': 'int', '*auth': 'str', '*compiled-version': 'str',
-+           '*ticket': 'str',
-            'mouse-mode': 'SpiceQueryMouseMode', '*channels': ['SpiceChannel']} }
- ##