diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-21 17:53:28 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-28 15:23:23 +0200 |
commit | 79b7a77eda5118f2661d251820d5ee9ee080354a (patch) | |
tree | 81957b65024816fbb0a9750d0693b65cdb9655e2 /blockdev.c | |
parent | 0491c221547a38b58e41fade9953cd1cf015288b (diff) | |
download | qemu-79b7a77eda5118f2661d251820d5ee9ee080354a.zip qemu-79b7a77eda5118f2661d251820d5ee9ee080354a.tar.gz qemu-79b7a77eda5118f2661d251820d5ee9ee080354a.tar.bz2 |
block: Declare blockdev-add and blockdev-del supported
It's been a long journey, but here we are.
The supported blockdev-add is not compatible to its experimental
predecessors; bump all Since: tags to 2.9.
x-blockdev-remove-medium, x-blockdev-insert-medium and
x-blockdev-change need a bit more work, so leave them alone for now.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2835,7 +2835,7 @@ void hmp_drive_del(Monitor *mon, const QDict *qdict) bs = bdrv_find_node(id); if (bs) { - qmp_x_blockdev_del(id, &local_err); + qmp_blockdev_del(id, &local_err); if (local_err) { error_report_err(local_err); } @@ -3900,7 +3900,7 @@ fail: visit_free(v); } -void qmp_x_blockdev_del(const char *node_name, Error **errp) +void qmp_blockdev_del(const char *node_name, Error **errp) { AioContext *aio_context; BlockDriverState *bs; |