qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 00/12] block: Remove BB interface from blockdev-add/del
@ 2016-09-21 12:55 Kevin Wolf
  2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 01/12] qemu-iotests/041: Avoid blockdev-add with id Kevin Wolf
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Kevin Wolf @ 2016-09-21 12:55 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, mreitz, eblake, qemu-devel

This series makes the next step towards a QAPI interface that doesn't require
clients to know about BlockBackends. By removing the support for 'id' from
blockdev-add, it becomes a command that always only creates a BDS (with a node
name). Existing interfaces have already been changed to accept node names
everywhere and BlockBackends are created whenever they are needed.

The actual change is in the last patch and pretty trivial, but many test cases
use blockdev-add to create a BlockBackend and must be updated first.

v3:
- Patch 8: Fixed whitespace error
- Patch 9: Mention dropped cases in commit message
- Patch 10: New: Fix NULL use for %s in error messages
- Patch 11 (was 10): Update output after new patch 10
- Patch 12 (was 11):
  Remove 'id' from blockdev-add error message
  Remove spurious # characters in QAPI documentation

v2:
- Rebased on top of qmp-commands.hx removal

Kevin Wolf (12):
  qemu-iotests/041: Avoid blockdev-add with id
  qemu-iotests/067: Avoid blockdev-add with id
  qemu-iotests/071: Avoid blockdev-add with id
  qemu-iotests/081: Avoid blockdev-add with id
  qemu-iotests/087: Avoid blockdev-add with id
  qemu-iotests/117: Avoid blockdev-add with id
  qemu-iotests/118: Avoid blockdev-add with id
  qemu-iotests/124: Avoid blockdev-add with id
  qemu-iotests/139: Avoid blockdev-add with id
  block: Avoid printing NULL string in error messages
  qemu-iotests/141: Avoid blockdev-add with id
  block: Remove BB interface from blockdev-add/del

 blockdev.c                 | 131 ++++++++--------------------
 docs/qmp-commands.txt      |  24 ++----
 qapi/block-core.json       |  30 ++-----
 tests/qemu-iotests/041     |  71 +++++++--------
 tests/qemu-iotests/067     |   6 +-
 tests/qemu-iotests/067.out | 211 +++++++++++++++++++++++++++------------------
 tests/qemu-iotests/071     |   8 +-
 tests/qemu-iotests/081     |   2 +-
 tests/qemu-iotests/085.out |   6 +-
 tests/qemu-iotests/087     |  62 ++-----------
 tests/qemu-iotests/087.out |   6 +-
 tests/qemu-iotests/117     |   4 +-
 tests/qemu-iotests/118     |   6 +-
 tests/qemu-iotests/124     |  17 ++--
 tests/qemu-iotests/139     | 178 ++++++++++++--------------------------
 tests/qemu-iotests/139.out |   4 +-
 tests/qemu-iotests/141     |  24 +++---
 tests/qemu-iotests/141.out |  24 +++---
 18 files changed, 324 insertions(+), 490 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-09-21 14:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21 12:55 [Qemu-devel] [PATCH v3 00/12] block: Remove BB interface from blockdev-add/del Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 01/12] qemu-iotests/041: Avoid blockdev-add with id Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 02/12] qemu-iotests/067: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 03/12] qemu-iotests/071: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 04/12] qemu-iotests/081: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 05/12] qemu-iotests/087: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 06/12] qemu-iotests/117: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 07/12] qemu-iotests/118: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 08/12] qemu-iotests/124: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 09/12] qemu-iotests/139: " Kevin Wolf
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 10/12] block: Avoid printing NULL string in error messages Kevin Wolf
2016-09-21 14:16   ` Eric Blake
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 11/12] qemu-iotests/141: Avoid blockdev-add with id Kevin Wolf
2016-09-21 14:17   ` Eric Blake
2016-09-21 12:56 ` [Qemu-devel] [PATCH v3 12/12] block: Remove BB interface from blockdev-add/del Kevin Wolf
2016-09-21 14:20   ` Eric Blake
2016-09-21 14:48 ` [Qemu-devel] [PATCH v3 00/12] " Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).