qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/15] block: Overriding the backing file with -drive
@ 2013-04-12 20:47 Kevin Wolf
  2013-04-12 20:47 ` [Qemu-devel] [PATCH 01/15] block: Fail gracefully when using a format driver on protocol level Kevin Wolf
                   ` (15 more replies)
  0 siblings, 16 replies; 36+ messages in thread
From: Kevin Wolf @ 2013-04-12 20:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha

This is the next part of the driver-specific options. Looks like we're getting
closer to pass file descriptors for the whole backing file chain. In fact, I
hope we're now only lacking QMP support before we can actually use it. :-)

This series adds support for the backing.* options namespace, and allows to use
the file.filename option to configure the filename string for non-top-level
BlockDriverStates. In the end you can use things like:

    -drive file=test.qcow2,backing.file.filename=/dev/fdset/1,
    backing.backing.file.driver=nbd,backing.backing.file.host=localhost


On another note, I'm still not sure whether I should leave all of this work
enabled for 1.5, or if we wouldn't be better off with disabling it for the
release so that we have some additional months before we commit to the
interface. Any opinions?


Kevin Wolf (15):
  block: Fail gracefully when using a format driver on protocol level
  block: Add driver-specific options for backing files
  block: Enable filename option
  raw-posix: Use bdrv_open options instead of filename
  raw-win32: Use bdrv_open options instead of filename
  blkdebug: Use bdrv_open options instead of filename
  blkverify: Use bdrv_open options instead of filename
  curl: Use bdrv_open options instead of filename
  gluster: Use bdrv_open options instead of filename
  iscsi: Use bdrv_open options instead of filename
  rbd: Use bdrv_open options instead of filename
  sheepdog: Use bdrv_open options instead of filename
  vvfat: Use bdrv_open options instead of filename
  block: Remove filename parameter from .bdrv_file_open()
  block: Allow overriding backing.file.filename

 block.c                    |  65 ++++++++++++--
 block/blkdebug.c           | 102 ++++++++++++++++------
 block/blkverify.c          |  93 ++++++++++++++++----
 block/curl.c               | 152 +++++++++++++++++++++-----------
 block/gluster.c            |  34 +++++++-
 block/iscsi.c              |  40 ++++++++-
 block/mirror.c             |   2 +-
 block/nbd.c                |   3 +-
 block/raw-posix.c          |  70 ++++++++++-----
 block/raw-win32.c          |  59 ++++++++++---
 block/rbd.c                |  32 ++++++-
 block/sheepdog.c           |  33 ++++++-
 block/vvfat.c              | 211 +++++++++++++++++++++++++++++++++------------
 include/block/block.h      |   2 +-
 include/block/block_int.h  |   3 +-
 tests/qemu-iotests/051     |   7 ++
 tests/qemu-iotests/051.out |  10 +++
 17 files changed, 713 insertions(+), 205 deletions(-)

-- 
1.8.1.4

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

end of thread, other threads:[~2013-04-22  9:41 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 20:47 [Qemu-devel] [PATCH 00/15] block: Overriding the backing file with -drive Kevin Wolf
2013-04-12 20:47 ` [Qemu-devel] [PATCH 01/15] block: Fail gracefully when using a format driver on protocol level Kevin Wolf
2013-04-12 22:50   ` Eric Blake
2013-04-15  9:06     ` Kevin Wolf
2013-04-15 12:02       ` Markus Armbruster
2013-04-12 20:47 ` [Qemu-devel] [PATCH 02/15] block: Add driver-specific options for backing files Kevin Wolf
2013-04-15 17:38   ` Eric Blake
2013-04-12 20:47 ` [Qemu-devel] [PATCH 03/15] block: Enable filename option Kevin Wolf
2013-04-15 17:43   ` Eric Blake
2013-04-12 20:47 ` [Qemu-devel] [PATCH 04/15] raw-posix: Use bdrv_open options instead of filename Kevin Wolf
2013-04-15 17:52   ` Eric Blake
2013-04-12 20:47 ` [Qemu-devel] [PATCH 05/15] raw-win32: " Kevin Wolf
2013-04-15 19:16   ` Eric Blake
2013-04-12 20:47 ` [Qemu-devel] [PATCH 06/15] blkdebug: " Kevin Wolf
2013-04-15 19:43   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 07/15] blkverify: " Kevin Wolf
2013-04-15 19:47   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 08/15] curl: " Kevin Wolf
2013-04-15 19:57   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 09/15] gluster: " Kevin Wolf
2013-04-15 20:07   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 10/15] iscsi: " Kevin Wolf
2013-04-15 20:26   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 11/15] rbd: " Kevin Wolf
2013-04-15 20:27   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 12/15] sheepdog: " Kevin Wolf
2013-04-15 20:29   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 13/15] vvfat: " Kevin Wolf
2013-04-15 20:44   ` Eric Blake
2013-04-12 20:48 ` [Qemu-devel] [PATCH 14/15] block: Remove filename parameter from .bdrv_file_open() Kevin Wolf
2013-04-15 20:47   ` Eric Blake
2013-04-22  9:41   ` [Qemu-devel] [PATCH v2 " Kevin Wolf
2013-04-12 20:48 ` [Qemu-devel] [PATCH 15/15] block: Allow overriding backing.file.filename Kevin Wolf
2013-04-15 21:03   ` Eric Blake
2013-04-18 11:42 ` [Qemu-devel] [PATCH 00/15] block: Overriding the backing file with -drive Stefan Hajnoczi
2013-04-18 13:34   ` 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).