qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema
@ 2013-03-15 18:07 Laszlo Ersek
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 1/2] qga schema: mark optional GuestLogicalProcessor.can-offline with #optional Laszlo Ersek
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Laszlo Ersek @ 2013-03-15 18:07 UTC (permalink / raw)
  To: qemu-devel, mdroth, eblake

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [PATCH 1/2] qga schema: mark optional GuestLogicalProcessor.can-offline with #optional
  2013-03-15 18:07 [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Laszlo Ersek
@ 2013-03-15 18:07 ` Laszlo Ersek
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED Laszlo Ersek
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Laszlo Ersek @ 2013-03-15 18:07 UTC (permalink / raw)
  To: qemu-devel, mdroth, eblake

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
 qga/qapi-schema.json |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index dac4e6f..2af3515 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -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
 ##
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED
  2013-03-15 18:07 [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Laszlo Ersek
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 1/2] qga schema: mark optional GuestLogicalProcessor.can-offline with #optional Laszlo Ersek
@ 2013-03-15 18:07 ` Laszlo Ersek
  2013-03-15 18:36   ` mdroth
  2013-03-15 18:11 ` [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Eric Blake
  2013-03-25 16:19 ` mdroth
  3 siblings, 1 reply; 6+ messages in thread
From: Laszlo Ersek @ 2013-03-15 18:07 UTC (permalink / raw)
  To: qemu-devel, mdroth, eblake

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

Suggested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
 qga/qapi-schema.json |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 2af3515..7155b7a 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -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.
 #
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema
  2013-03-15 18:07 [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Laszlo Ersek
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 1/2] qga schema: mark optional GuestLogicalProcessor.can-offline with #optional Laszlo Ersek
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED Laszlo Ersek
@ 2013-03-15 18:11 ` Eric Blake
  2013-03-25 16:19 ` mdroth
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Blake @ 2013-03-15 18:11 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: qemu-devel, mdroth

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

On 03/15/2013 12:07 PM, Laszlo Ersek wrote:
> 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 <eblake@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 621 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED
  2013-03-15 18:07 ` [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED Laszlo Ersek
@ 2013-03-15 18:36   ` mdroth
  0 siblings, 0 replies; 6+ messages in thread
From: mdroth @ 2013-03-15 18:36 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: qemu-devel

On Fri, Mar 15, 2013 at 07:07:51PM +0100, Laszlo Ersek wrote:
> Part of the wording was shamelessly stolen from Michael Roth's email.

:)

series:

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>

> 
> Suggested-by: Michael Roth <mdroth@linux.vnet.ibm.com>
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> ---
>  qga/qapi-schema.json |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
> index 2af3515..7155b7a 100644
> --- a/qga/qapi-schema.json
> +++ b/qga/qapi-schema.json
> @@ -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.
>  #
> -- 
> 1.7.1
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema
  2013-03-15 18:07 [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Laszlo Ersek
                   ` (2 preceding siblings ...)
  2013-03-15 18:11 ` [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Eric Blake
@ 2013-03-25 16:19 ` mdroth
  3 siblings, 0 replies; 6+ messages in thread
From: mdroth @ 2013-03-25 16:19 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: qemu-devel

On Fri, Mar 15, 2013 at 07:07:49PM +0100, Laszlo Ersek wrote:
> 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-25 16:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-15 18:07 [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Laszlo Ersek
2013-03-15 18:07 ` [Qemu-devel] [PATCH 1/2] qga schema: mark optional GuestLogicalProcessor.can-offline with #optional Laszlo Ersek
2013-03-15 18:07 ` [Qemu-devel] [PATCH 2/2] qga schema: document generic QERR_UNSUPPORTED Laszlo Ersek
2013-03-15 18:36   ` mdroth
2013-03-15 18:11 ` [Qemu-devel] [PATCH 0/2] documentation fixups for the qga schema Eric Blake
2013-03-25 16:19 ` mdroth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).