Skip to contentSkip to conversation

qapi-schema: fix typos and explain 'spice' auth

PATCH Applied Alon Levy 2 participants 3 messages Mar 5, 2012 – Mar 7, 2012

lore
Share & tools
lore

Alon Levy

author
#0 lore raw

PATCH v2 1/2 qapi-schema: fix typos and explain 'spice' auth

---
 qapi-schema.json |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

v1->v2:
- Fixes wrong indentation for second spice channel-id
- split the last part (ObjectPropertyInfo).

qapi-schema.json +8 -6
index 5f293c4..93ee2a4 100644
@@ -616,11 +616,12 @@
 # @connection-id: SPICE connection id number.  All channels with the same id
 #                 belong to the same SPICE session.
 #
-# @connection-type: SPICE channel type number.  "1" is the main control channel,
-#                   filter for this one if you want track spice sessions only
+# @connection-type: SPICE channel type number.  "1" is the main control
+#                   channel, filter for this one if you want to track spice
+#                   sessions only
 #
-# @channel-id: SPICE channel ID number.  Usually "0", might be different needed
-#              when multiple channels of the same type exist, such as multiple
+# @channel-id: SPICE channel ID number.  Usually "0", might be different when
+#              multiple channels of the same type exist, such as multiple
 #              display channels in a multihead setup
 #
 # @tls: true if the channel is encrypted, false otherwise.
@@ -649,8 +650,9 @@
 # @tls-port: #optional The SPICE server's TLS port number.
 #
 # @auth: #optional the current authentication type used by the server
-#        'none' if no authentication is being used
-#        'spice' (TODO: describe)
+#        'none'  if no authentication is being used
+#        'spice' uses SASL or direct TLS authentication, depending on command
+#                line options
 #
 # @channels: a list of @SpiceChannel for each active spice channel
 #
Signature · 1 line
1.7.9.1
author
#1 lore raw

PATCH v2 2/2 qapi-schema.json: fix comment for type ObjectPropretyInfo

---
 qapi-schema.json |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
qapi-schema.json +1 -1
index 93ee2a4..dd9e0e5 100644
@@ -1256,7 +1256,7 @@
 { 'command': 'migrate_set_speed', 'data': {'value': 'int'} }
 
 ##
-# @DevicePropertyInfo:
+# @ObjectPropertyInfo:
 #
 # @name: the name of the property
 #
Signature · 1 line
1.7.9.1
#2 lore raw
In reply to Alon Levy
Quoted 1 line · On Mon, 5 Mar 2012 15:13:27 +0200 Alon Levy <[email protected]> wrote:

Applied both patches to the qmp branch, thanks.

Quoted 41 lines
---
 qapi-schema.json |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

v1->v2:
- Fixes wrong indentation for second spice channel-id
- split the last part (ObjectPropertyInfo).

qapi-schema.json +8 -6
index 5f293c4..93ee2a4 100644
@@ -616,11 +616,12 @@
 # @connection-id: SPICE connection id number.  All channels with the same id
 #                 belong to the same SPICE session.
 #
-# @connection-type: SPICE channel type number.  "1" is the main control channel,
-#                   filter for this one if you want track spice sessions only
+# @connection-type: SPICE channel type number.  "1" is the main control
+#                   channel, filter for this one if you want to track spice
+#                   sessions only
 #
-# @channel-id: SPICE channel ID number.  Usually "0", might be different needed
-#              when multiple channels of the same type exist, such as multiple
+# @channel-id: SPICE channel ID number.  Usually "0", might be different when
+#              multiple channels of the same type exist, such as multiple
 #              display channels in a multihead setup
 #
 # @tls: true if the channel is encrypted, false otherwise.
@@ -649,8 +650,9 @@
 # @tls-port: #optional The SPICE server's TLS port number.
 #
 # @auth: #optional the current authentication type used by the server
-#        'none' if no authentication is being used
-#        'spice' (TODO: describe)
+#        'none'  if no authentication is being used
+#        'spice' uses SASL or direct TLS authentication, depending on command
+#                line options
 #
 # @channels: a list of @SpiceChannel for each active spice channel
 #