qemu/qapi
Kevin Wolf 7b5dca3f02 block: Accept node-name for change-backing-file
In order to remove the necessity to use BlockBackend names in the
external API, we want to allow node-names everywhere. This converts
change-backing-file to accept a node-name without lifting the
restriction that we're operating at a root node.

In case of an invalid device name, the command returns the GenericError
error class now instead of DeviceNotFound, because this is what
qmp_get_root_bs() returns.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2016-09-05 19:06:47 +02:00
..
block-core.json block: Accept node-name for change-backing-file 2016-09-05 19:06:47 +02:00
block.json block: Accept node-name for blockdev-snapshot-internal-sync 2016-09-05 19:06:47 +02:00
common.json kvm: add support for -machine kernel_irqchip=split 2015-12-17 17:15:40 +01:00
crypto.json crypto: add support for querying parameters for block encryption 2016-07-26 17:46:37 +02:00
event.json qmp event: Refactor QUORUM_REPORT_BAD 2016-03-14 16:46:43 +01:00
introspect.json qapi: Use anonymous bases in QMP flat unions 2016-03-18 10:29:26 +01:00
Makefile.objs qapi: Add new clone visitor 2016-07-06 10:52:04 +02:00
opts-visitor.c opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
qapi-clone-visitor.c qapi: Add new clone visitor 2016-07-06 10:52:04 +02:00
qapi-dealloc-visitor.c qapi: Add new visit_free() function 2016-07-06 10:52:04 +02:00
qapi-util.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
qapi-visit-core.c qapi: Add new clone visitor 2016-07-06 10:52:04 +02:00
qmp-dispatch.c qapi: Improve use of qmp/types.h 2016-07-06 10:52:03 +02:00
qmp-event.c qapi: Clean up includes 2016-02-04 17:41:30 +00:00
qmp-input-visitor.c qapi: change QmpInputVisitor to QSLIST 2016-07-19 13:21:08 +02:00
qmp-output-visitor.c qapi: change QmpOutputVisitor to QSLIST 2016-07-19 13:21:08 +02:00
qmp-registry.c all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
rocker.json qmp/hmp: add rocker device support 2015-06-12 13:42:17 +01:00
string-input-visitor.c string-input-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
string-output-visitor.c qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
trace.json trace: Add QAPI/QMP interfaces to query and control per-vCPU tracing state 2016-07-18 18:23:12 +01:00