qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v4 10/18] block/io: introduce block driver snapshot-access AP


From: Hanna Reitz
Subject: Re: [PATCH v4 10/18] block/io: introduce block driver snapshot-access API
Date: Thu, 24 Feb 2022 13:24:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 16.02.22 20:46, Vladimir Sementsov-Ogievskiy wrote:
Add new block driver handlers and corresponding generic wrappers.
It will be used to allow copy-before-write filter to provide
reach fleecing interface in further commit.

In future this approach may be used to allow reading qcow2 interanal

(s/interanal/internal/)

snaphots, for example to export them through NBD.

Ooh, that’s indeed quite nice.

Raises the question of how users are to select a specific snapshot in qcow2 file, but your next patch answers that question: The snapshot access driver is to receive a runtime option for this, and the API is to be extended to allow for selecting a specific snapshot.  Sounds good!

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
  include/block/block_int.h | 27 +++++++++++++++
  block/io.c                | 69 +++++++++++++++++++++++++++++++++++++++
  2 files changed, 96 insertions(+)

Yes, really nice.  Thanks.

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

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