-From c09467afaf37989942076b45f6ffa7bb8ebde2ca Mon Sep 17 00:00:00 2001
+From c51f39a5741210b7df2ac212a8ced14ef950d415 Mon Sep 17 00:00:00 2001
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
Date: Wed, 9 Dec 2015 14:32:11 +0100
-Subject: [PATCH 09/47] qapi: modify spice query
+Subject: [PATCH 09/48] qapi: modify spice query
Provide the last ticket in the SpiceInfo struct optionally.
---
2 files changed, 8 insertions(+)
diff --git a/qapi-schema.json b/qapi-schema.json
-index 63507f5..518c2ea 100644
+index 2c40928..ca534cc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
-@@ -1253,11 +1253,14 @@
+@@ -1841,11 +1841,14 @@
#
# @channels: a list of @SpiceChannel for each active spice channel
#
-+# @ticket: #optional The last ticket set with set_password
++# @ticket: The last ticket set with set_password
+#
# Since: 0.14.0
##
##
diff --git a/ui/spice-core.c b/ui/spice-core.c
-index da05054..acf5a73 100644
+index 804abc5..4a41731 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
-@@ -543,6 +543,11 @@ SpiceInfo *qmp_query_spice(Error **errp)
+@@ -552,6 +552,11 @@ SpiceInfo *qmp_query_spice(Error **errp)
micro = SPICE_SERVER_VERSION & 0xff;
info->compiled_version = g_strdup_printf("%d.%d.%d", major, minor, micro);