qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC v2 0/4] blockdev-replace
@ 2021-12-22 16:02 Vladimir Sementsov-Ogievskiy
  2021-12-22 16:02 ` [PATCH v2 1/4] block-backend: blk_root(): drop const specifier on return type Vladimir Sementsov-Ogievskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2021-12-22 16:02 UTC (permalink / raw)
  To: qemu-block
  Cc: qemu-devel, eblake, armbru, hreitz, kwolf, vsementsov, den,
	nshirokovskiy, yur, dim, igor, pkrempa, libvir-list, stefanha

Hi all!

v2:

1. Let's start with minimal functionality: replace only one specific
child.

2. Explicit type of parent: qdev / export / driver

Hmm, 'driver' is for BlockDriverState.. Any better idea? I don't want to
call it "node" or even "block-node", as finally, devices and exports are
kind of nodes too in the whole block graph..

3. I think it's better to start with x- prefix

Plans for v3:

- add tests of filter insertion and removing
- add qmp transaction support

Vladimir Sementsov-Ogievskiy (4):
  block-backend: blk_root(): drop const specifier on return type
  block/export: add blk_by_export_id()
  block: make bdrv_find_child() function public
  qapi: add blockdev-replace command

 qapi/block.json                | 61 ++++++++++++++++++++++++++++++++++
 include/block/block_int.h      |  1 +
 include/sysemu/block-backend.h |  3 +-
 block.c                        | 13 ++++++++
 block/block-backend.c          |  2 +-
 block/export/export.c          | 18 ++++++++++
 block/qapi-sysemu.c            | 56 +++++++++++++++++++++++++++++++
 blockdev.c                     | 14 --------
 8 files changed, 152 insertions(+), 16 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2021-12-22 16:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-22 16:02 [PATCH RFC v2 0/4] blockdev-replace Vladimir Sementsov-Ogievskiy
2021-12-22 16:02 ` [PATCH v2 1/4] block-backend: blk_root(): drop const specifier on return type Vladimir Sementsov-Ogievskiy
2021-12-22 16:02 ` [PATCH v2 2/4] block/export: add blk_by_export_id() Vladimir Sementsov-Ogievskiy
2021-12-22 16:02 ` [PATCH v2 3/4] block: make bdrv_find_child() function public Vladimir Sementsov-Ogievskiy
2021-12-22 16:02 ` [PATCH v2 4/4] qapi: add blockdev-replace command Vladimir Sementsov-Ogievskiy

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).