[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 06/10] block: Accept device model name for x-
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 06/10] block: Accept device model name for x-blockdev-remove-medium |
Date: |
Mon, 19 Sep 2016 14:32:41 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 09/19/2016 11:54 AM, Kevin Wolf wrote:
> In order to remove the necessity to use BlockBackend names in the
> external API, we want to allow qdev device names in all device related
> commands.
>
> This converts x-blockdev-remove-medium to accept a qdev device name.
>
> As the command is experimental, we can still remove the 'device' option
> that uses the BlockBackend name. This requires some test case changes
> and is left for another series.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> blockdev.c | 28 ++++++++++++++++------------
> qapi/block-core.json | 7 +++++--
> qmp-commands.hx | 14 ++++++++------
> 3 files changed, 29 insertions(+), 20 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 00/10] block: Accept qdev IDs in device level QMP commands, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 02/10] qdev-monitor: Factor out find_device_state(), Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 01/10] block: Add blk_by_dev(), Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 04/10] block: Accept device model name for blockdev-open/close-tray, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 03/10] qdev-monitor: Add blk_by_qdev_id(), Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 05/10] block: Accept device model name for x-blockdev-insert-medium, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 06/10] block: Accept device model name for x-blockdev-remove-medium, Kevin Wolf, 2016/09/19
- Re: [Qemu-devel] [PATCH v2 06/10] block: Accept device model name for x-blockdev-remove-medium,
Eric Blake <=
- [Qemu-devel] [PATCH v2 08/10] block: Accept device model name for blockdev-change-medium, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 07/10] block: Accept device model name for eject, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 09/10] block: Accept device model name for block_set_io_throttle, Kevin Wolf, 2016/09/19
- [Qemu-devel] [PATCH v2 10/10] qemu-iotests/118: Test media change with qdev name, Kevin Wolf, 2016/09/19
- Re: [Qemu-devel] [PATCH v2 00/10] block: Accept qdev IDs in device level QMP commands, no-reply, 2016/09/19