Skip to contentSkip to conversation

documentation fixups for the qga schema

PATCH Applied Laszlo Ersek 3 participants 6 messages Mar 15, 2013 – Mar 25, 2013

lore
Share & tools
lore
#0 lore raw

cover documentation fixups for the qga schema

Laszlo Ersek (2):
qga schema: mark optional GuestLogicalProcessor.can-offline with
#optional
qga schema: document generic QERR_UNSUPPORTED

 qga/qapi-schema.json |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)
#1 lore raw

PATCH 1/2 qga schema: mark optional GuestLogicalProcessor.can-offline with #optional

---
 qga/qapi-schema.json |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
qga/qapi-schema.json +4 -3
index dac4e6f..2af3515 100644
@@ -562,9 +562,10 @@
 #
 # @online: Whether the VCPU is enabled.
 #
-# @can-offline: Whether offlining the VCPU is possible. This member is always
-#               filled in by the guest agent when the structure is returned,
-#               and always ignored on input (hence it can be omitted then).
+# @can-offline: #optional Whether offlining the VCPU is possible. This member
+#               is always filled in by the guest agent when the structure is
+#               returned, and always ignored on input (hence it can be omitted
+#               then).
 #
 # Since: 1.5
 ##
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 qga schema: document generic QERR_UNSUPPORTED

In reply to Laszlo Ersek

Part of the wording was shamelessly stolen from Michael Roth's email.

---
 qga/qapi-schema.json |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
qga/qapi-schema.json +11 -0
index 2af3515..7155b7a 100644
@@ -2,6 +2,17 @@
 
 ##
 #
+# General note concerning the use of guest agent interfaces:
+#
+# "unsupported" is a higher-level error than the errors that individual
+# commands might document. The caller should always be prepared to receive
+# QERR_UNSUPPORTED, even if the given command doesn't specify it, or doesn't
+# document any failure mode at all.
+#
+##
+
+##
+#
 # Echo back a unique integer value, and prepend to response a
 # leading sentinel byte (0xFF) the client can check scan for.
 #
Signature · 1 line
1.7.1
Reviewed-by on v1 2/2
#3 lore raw

Re: [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED

Quoted 1 line · Laszlo Ersek

Part of the wording was shamelessly stolen from Michael Roth's email.

:)

series:

Quoted 32 lines
---
 qga/qapi-schema.json |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
qga/qapi-schema.json +11 -0
index 2af3515..7155b7a 100644
@@ -2,6 +2,17 @@
 
 ##
 #
+# General note concerning the use of guest agent interfaces:
+#
+# "unsupported" is a higher-level error than the errors that individual
+# commands might document. The caller should always be prepared to receive
+# QERR_UNSUPPORTED, even if the given command doesn't specify it, or doesn't
+# document any failure mode at all.
+#
+##
+
+##
+#
 # Echo back a unique integer value, and prepend to response a
 # leading sentinel byte (0xFF) the client can check scan for.
 #
Signature · 1 line
1.7.1
#4 lore raw
In reply to Laszlo Ersek
Quoted 7 lines · Laszlo Ersek

Laszlo Ersek (2):
qga schema: mark optional GuestLogicalProcessor.can-offline with
#optional
qga schema: document generic QERR_UNSUPPORTED

 qga/qapi-schema.json |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

Series: Reviewed-by: Eric Blake <[email protected]>

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Applied
#5 lore raw
In reply to Laszlo Ersek
Quoted 8 lines · Laszlo Ersek

Laszlo Ersek (2):
qga schema: mark optional GuestLogicalProcessor.can-offline with
#optional
qga schema: document generic QERR_UNSUPPORTED

 qga/qapi-schema.json |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

Thanks, applied to qga branch.