* [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27
@ 2017-01-27 7:29 Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 1/3] build-sys: Minor qapi doc generation target cleanups Markus Armbruster
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Markus Armbruster @ 2017-01-27 7:29 UTC (permalink / raw)
To: qemu-devel
The following changes since commit c7f1cf01b8245762ca5864e835d84f6677ae8b1f:
Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2017-01-25 17:54:14 +0000)
are available in the git repository at:
git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2017-01-27
for you to fetch changes up to 7a8c153f0e59cccdc0425cdebe43765008def01a:
qmp: Fix argument name in error message of device-list-properties (2017-01-27 08:23:06 +0100)
----------------------------------------------------------------
QAPI/QMP patches for 2017-01-27
----------------------------------------------------------------
Lin Ma (1):
qmp: Fix argument name in error message of device-list-properties
Markus Armbruster (1):
build-sys: Minor qapi doc generation target cleanups
Stefan Weil (1):
qapi: Remove unwanted commas after #optional keyword
Makefile | 6 +++---
qapi-schema.json | 4 ++--
qapi/block-core.json | 10 +++++-----
qapi/event.json | 6 +++---
qmp.c | 4 ++--
5 files changed, 15 insertions(+), 15 deletions(-)
Lin Ma (1):
qmp: Fix argument name in error message of device-list-properties
Markus Armbruster (1):
build-sys: Minor qapi doc generation target cleanups
Stefan Weil (1):
qapi: Remove unwanted commas after #optional keyword
Makefile | 6 +++---
qapi-schema.json | 4 ++--
qapi/block-core.json | 10 +++++-----
qapi/event.json | 6 +++---
qmp.c | 4 ++--
5 files changed, 15 insertions(+), 15 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 1/3] build-sys: Minor qapi doc generation target cleanups
2017-01-27 7:29 [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Markus Armbruster
@ 2017-01-27 7:29 ` Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 2/3] qapi: Remove unwanted commas after #optional keyword Markus Armbruster
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Markus Armbruster @ 2017-01-27 7:29 UTC (permalink / raw)
To: qemu-devel; +Cc: Marc-André Lureau
Move makeinfo flags from MAKEINFO to MAKEINFOFLAGS. Fix the call of
quiet-command for target qemu-ga-qapi.texi. Both messed up in commit
56e8bdd.
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1484816804-12598-1-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index c166d2d..1e5cb19 100644
--- a/Makefile
+++ b/Makefile
@@ -542,8 +542,8 @@ ui/console-gl.o: $(SRC_PATH)/ui/console-gl.c \
ui/shader/texture-blit-vert.h ui/shader/texture-blit-frag.h
# documentation
-MAKEINFO=makeinfo -D 'VERSION $(VERSION)'
-MAKEINFOFLAGS=--no-split --number-sections
+MAKEINFO=makeinfo
+MAKEINFOFLAGS=--no-split --number-sections -D 'VERSION $(VERSION)'
TEXIFLAG=$(if $(V),,--quiet) --command='@set VERSION $(VERSION)'
%.html: %.texi
@@ -573,7 +573,7 @@ qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/scripts/hxtool
$(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@,"GEN","$@")
qemu-qapi.texi: $(qapi-modules) $(qapi-py)
- $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi2texi.py $< > $@,"GEN" "$@")
+ $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi2texi.py $< > $@,"GEN","$@")
qemu-ga-qapi.texi: $(SRC_PATH)/qga/qapi-schema.json $(qapi-py)
$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi2texi.py $< > $@,"GEN","$@")
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 2/3] qapi: Remove unwanted commas after #optional keyword
2017-01-27 7:29 [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 1/3] build-sys: Minor qapi doc generation target cleanups Markus Armbruster
@ 2017-01-27 7:29 ` Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 3/3] qmp: Fix argument name in error message of device-list-properties Markus Armbruster
2017-01-27 16:54 ` [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Markus Armbruster @ 2017-01-27 7:29 UTC (permalink / raw)
To: qemu-devel; +Cc: Stefan Weil
From: Stefan Weil <sw@weilnetz.de>
We don't want that commas to be part of the generated documentation,
so remove them.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20170122145407.27476-1-sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
qapi-schema.json | 4 ++--
qapi/block-core.json | 10 +++++-----
qapi/event.json | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index ac55f4a..82fabc6 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1506,7 +1506,7 @@
#
# The network connection information for server
#
-# @auth: #optional, authentication method
+# @auth: #optional authentication method
#
# Since: 2.1
##
@@ -1694,7 +1694,7 @@
#
# Information about a SPICE server
#
-# @auth: #optional, authentication method
+# @auth: #optional authentication method
#
# Since: 2.1
##
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 1b3e6eb..932f5bb 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -3126,10 +3126,10 @@
#
# @filename: filename of the new image to be loaded
#
-# @format: #optional, format to open the new image with (defaults to
+# @format: #optional format to open the new image with (defaults to
# the probed format)
#
-# @read-only-mode: #optional, change the read-only mode of the device; defaults
+# @read-only-mode: #optional change the read-only mode of the device; defaults
# to 'retain'
#
# Since: 2.5
@@ -3208,10 +3208,10 @@
# corruption being detected. It should not be parsed by machine as it is
# not guaranteed to be stable
#
-# @offset: #optional, if the corruption resulted from an image access, this is
+# @offset: #optional if the corruption resulted from an image access, this is
# the host's access offset into the image
#
-# @size: #optional, if the corruption resulted from an image access, this is
+# @size: #optional if the corruption resulted from an image access, this is
# the access size
#
# @fatal: if set, the image is marked corrupt and therefore unusable after this
@@ -3302,7 +3302,7 @@
#
# @speed: rate limit, bytes per second
#
-# @error: #optional, error message. Only present on failure. This field
+# @error: #optional error message. Only present on failure. This field
# contains a human-readable error message. There are no semantics
# other than that streaming has failed and clients should not try to
# interpret the error string
diff --git a/qapi/event.json b/qapi/event.json
index f3737b7..7bf539b 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -186,7 +186,7 @@
# At this point, it's safe to reuse the specified device ID. Device removal can
# be initiated by the guest or by HMP/QMP commands.
#
-# @device: #optional, device name
+# @device: #optional device name
#
# @path: device path
#
@@ -209,7 +209,7 @@
# Emitted once until the 'query-rx-filter' command is executed, the first event
# will always be emitted
#
-# @name: #optional, net client name
+# @name: #optional net client name
#
# @path: device path
#
@@ -531,7 +531,7 @@
#
# @type: quorum operation type (Since 2.6)
#
-# @error: #optional, error message. Only present on failure. This field
+# @error: #optional error message. Only present on failure. This field
# contains a human-readable error message. There are no semantics other
# than that the block layer reported an error and clients should not
# try to interpret the error string.
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 3/3] qmp: Fix argument name in error message of device-list-properties
2017-01-27 7:29 [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 1/3] build-sys: Minor qapi doc generation target cleanups Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 2/3] qapi: Remove unwanted commas after #optional keyword Markus Armbruster
@ 2017-01-27 7:29 ` Markus Armbruster
2017-01-27 16:54 ` [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Markus Armbruster @ 2017-01-27 7:29 UTC (permalink / raw)
To: qemu-devel; +Cc: Lin Ma
From: Lin Ma <lma@suse.com>
The argument is called "typename", not "name".
[Thanks to Markus for correcting the commit message]
Signed-off-by: Lin Ma <lma@suse.com>
Message-Id: <20170125052703.23571-1-lma@suse.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
qmp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qmp.c b/qmp.c
index 0028f0b..886059e 100644
--- a/qmp.c
+++ b/qmp.c
@@ -531,12 +531,12 @@ DevicePropertyInfoList *qmp_device_list_properties(const char *typename,
klass = object_class_dynamic_cast(klass, TYPE_DEVICE);
if (klass == NULL) {
- error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "name", TYPE_DEVICE);
+ error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "typename", TYPE_DEVICE);
return NULL;
}
if (object_class_is_abstract(klass)) {
- error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "name",
+ error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "typename",
"non-abstract device type");
return NULL;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27
2017-01-27 7:29 [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Markus Armbruster
` (2 preceding siblings ...)
2017-01-27 7:29 ` [Qemu-devel] [PULL 3/3] qmp: Fix argument name in error message of device-list-properties Markus Armbruster
@ 2017-01-27 16:54 ` Peter Maydell
3 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2017-01-27 16:54 UTC (permalink / raw)
To: Markus Armbruster; +Cc: QEMU Developers
On 27 January 2017 at 07:29, Markus Armbruster <armbru@redhat.com> wrote:
> The following changes since commit c7f1cf01b8245762ca5864e835d84f6677ae8b1f:
>
> Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2017-01-25 17:54:14 +0000)
>
> are available in the git repository at:
>
> git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2017-01-27
>
> for you to fetch changes up to 7a8c153f0e59cccdc0425cdebe43765008def01a:
>
> qmp: Fix argument name in error message of device-list-properties (2017-01-27 08:23:06 +0100)
>
> ----------------------------------------------------------------
> QAPI/QMP patches for 2017-01-27
>
> ----------------------------------------------------------------
> Lin Ma (1):
> qmp: Fix argument name in error message of device-list-properties
>
> Markus Armbruster (1):
> build-sys: Minor qapi doc generation target cleanups
>
> Stefan Weil (1):
> qapi: Remove unwanted commas after #optional keyword
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-27 16:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27 7:29 [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 1/3] build-sys: Minor qapi doc generation target cleanups Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 2/3] qapi: Remove unwanted commas after #optional keyword Markus Armbruster
2017-01-27 7:29 ` [Qemu-devel] [PULL 3/3] qmp: Fix argument name in error message of device-list-properties Markus Armbruster
2017-01-27 16:54 ` [Qemu-devel] [PULL 0/3] QAPI/QMP patches for 2017-01-27 Peter Maydell
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).