All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/6] block: Move BB options from blockdev-add to qdev
@ 2016-06-30 14:13 Kevin Wolf
  2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 1/6] block/qdev: Allow node name for drive properties Kevin Wolf
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Kevin Wolf @ 2016-06-30 14:13 UTC (permalink / raw)
  To: qemu-block; +Cc: kwolf, mreitz, eblake, qemu-devel

This series adds some device level options (write-cache, werror, rerror)
to qdev that used to be specified with -drive and made their way into
blockdev-add. They are at the same time removed from blockdev-add, which
is going to be changed in a later patch series so that it only creates
block nodes without a BlockBackend.

The -device drive=... option is also changed to allow specifying a
node-name rather than a BlockBackend name. In this case, an anonymous
BlockBackend is created internally.

Kevin Wolf (6):
  block/qdev: Allow node name for drive properties
  block/qdev: Allow configuring WCE with qdev properties
  commit: Fix use of error handling policy
  block/qdev: Allow configuring rerror/werror with qdev properties
  qemu-iotests: Test setting WCE with qdev
  block: Remove BB options from blockdev-add

 block/block-backend.c            |  1 +
 block/commit.c                   |  6 +--
 blockjob.c                       |  1 +
 hw/block/block.c                 | 28 ++++++++++++
 hw/block/nvme.c                  |  1 +
 hw/block/virtio-blk.c            |  2 +
 hw/core/qdev-properties-system.c | 22 ++++++++--
 hw/core/qdev-properties.c        | 13 ++++++
 hw/ide/qdev.c                    |  2 +
 hw/scsi/scsi-disk.c              |  2 +
 hw/usb/dev-storage.c             |  1 +
 include/hw/block/block.h         | 13 +++++-
 include/hw/qdev-properties.h     |  4 ++
 qapi/block-core.json             | 22 ++--------
 tests/qemu-iotests/157           | 92 ++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/157.out       | 22 ++++++++++
 tests/qemu-iotests/group         |  1 +
 17 files changed, 208 insertions(+), 25 deletions(-)
 create mode 100755 tests/qemu-iotests/157
 create mode 100644 tests/qemu-iotests/157.out

-- 
1.8.3.1

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

end of thread, other threads:[~2016-07-06 14:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30 14:13 [Qemu-devel] [PATCH v2 0/6] block: Move BB options from blockdev-add to qdev Kevin Wolf
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 1/6] block/qdev: Allow node name for drive properties Kevin Wolf
2016-07-02 15:00   ` Max Reitz
2016-07-02 15:33   ` Max Reitz
2016-07-04 10:43     ` Kevin Wolf
2016-07-05 14:41       ` Max Reitz
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 2/6] block/qdev: Allow configuring WCE with qdev properties Kevin Wolf
2016-07-02 15:36   ` Max Reitz
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 3/6] commit: Fix use of error handling policy Kevin Wolf
2016-07-02 15:39   ` Max Reitz
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 4/6] block/qdev: Allow configuring rerror/werror with qdev properties Kevin Wolf
2016-07-02 15:57   ` Max Reitz
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 5/6] qemu-iotests: Test setting WCE with qdev Kevin Wolf
2016-07-02 16:15   ` Max Reitz
2016-07-04 10:50     ` Kevin Wolf
2016-07-05 14:57       ` Max Reitz
2016-07-05 22:49         ` Eric Blake
2016-07-06 14:25     ` Kevin Wolf
2016-06-30 14:13 ` [Qemu-devel] [PATCH v2 6/6] block: Remove BB options from blockdev-add Kevin Wolf
2016-07-02 16:28   ` Max Reitz
2016-07-04 10:58     ` Kevin Wolf
2016-07-05 14:58       ` Max Reitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.