qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH 00/10] block: Accept qdev IDs in device level QMP co


From: Kevin Wolf
Subject: [Qemu-block] [PATCH 00/10] block: Accept qdev IDs in device level QMP commands
Date: Fri, 19 Aug 2016 18:50:25 +0200

In order to remove the necessity to use BlockBackend names in the external API,
we already converted all block layer QMP commands on the node level to accept
node names instead of BlockBackend names. This series converts the second part,
device level commands, to allow qdev device names instead of BlockBackend
names.

Kevin Wolf (10):
  block: Add blk_by_dev()
  qdev-monitor: Factor out find_device_state()
  qdev-monitor: Add blk_by_qdev_id()
  block: Accept device model name for blockdev-open/close-tray
  block: Accept device model name for x-blockdev-insert-medium
  block: Accept device model name for x-blockdev-remove-medium
  block: Accept device model name for eject
  block: Accept device model name for blockdev-change-medium
  block: Accept device model name for block_set_io_throttle
  qemu-iotests/118: Test media change with qdev name

 block/block-backend.c          |  19 ++++++
 blockdev.c                     | 146 +++++++++++++++++++++++++++--------------
 hmp.c                          |   7 +-
 include/sysemu/block-backend.h |   2 +
 qapi/block-core.json           |  39 +++++++----
 qapi/block.json                |   7 +-
 qdev-monitor.c                 |  34 ++++++++--
 qmp-commands.hx                |  44 ++++++++-----
 qmp.c                          |   4 +-
 tests/qemu-iotests/118         |  85 +++++++++++++++++++-----
 tests/qemu-iotests/iotests.py  |   5 ++
 11 files changed, 288 insertions(+), 104 deletions(-)

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]