documentation fixups for the qga schema
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(-)
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
@@ -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
PATCH 2/2 qga schema: document generic QERR_UNSUPPORTED
In reply to Laszlo ErsekPart 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
@@ -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
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
Suggested-by Michael Roth <[email protected]>Signed-off-by Laszlo Ersek <[email protected]>--- qga/qapi-schema.json | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)qga/qapi-schema.json +11
-0@@ -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
Quoted 7 lines · Laszlo Ersek
Laszlo Ersek (2):
qga schema: mark optional GuestLogicalProcessor.can-offline with
#optional
qga schema: document genericQERR_UNSUPPORTEDqga/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
mdroth
AppliedQuoted 8 lines · Laszlo Ersek
Laszlo Ersek (2):
qga schema: mark optional GuestLogicalProcessor.can-offline with
#optional
qga schema: document genericQERR_UNSUPPORTEDqga/qapi-schema.json | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-)
Thanks, applied to qga branch.