qapi: Fix some QMP documentation regressions
commit244d04db580da5972b27a4dbf8f38b949c7d916c
authorEric Blake <eblake@redhat.com>
Tue, 23 May 2017 17:44:20 +0000 (23 12:44 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 4 Jun 2017 15:42:55 +0000 (4 18:42 +0300)
tree59990fb6cc276e09319f36e7718e7e6f1735bf30
parent2283adfb0aa1ccc70c4a4a951423343dcb9e94d9
qapi: Fix some QMP documentation regressions

In the process of getting rid of docs/qmp-commands.txt, we managed
to regress on some of the text that changed after the point where
the move was first branched and when the move actually occurred.
For example, commit 3282eca for blockdev-snapshot re-added the
extra "options" layer which had been cleaned up in commit 0153d2f.

This clears up all regressions identified over the range
02b351d..bd6092e:
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg05127.html
as well as a cleanup to x-blockdev-remove-medium to prefer
'id' over 'device' (matching the cleanup for 'eject').

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qapi/block-core.json
qapi/block.json