From 9481ecd737b91d507baf347287c62efe6760784f Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 15 Mar 2013 19:07:51 +0100 Subject: qga schema: document generic QERR_UNSUPPORTED Part of the wording was shamelessly stolen from Michael Roth's email. Suggested-by: Michael Roth Signed-off-by: Laszlo Ersek Reviewed-by: Eric Blake Reviewed-by: Michael Roth Signed-off-by: Michael Roth --- qga/qapi-schema.json | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'qga') diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index 2af3515115..7155b7ab55 100644 --- a/qga/qapi-schema.json +++ b/qga/qapi-schema.json @@ -1,5 +1,16 @@ # *-*- Mode: Python -*-* +## +# +# 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 -- cgit v1.2.1