Hi, On Wed, Apr 17, 2019 at 5:33 AM Manuel Bentele <manuel-bentele@xxxxxx> wrote: > > Hi everyone > > I'm going to implement an in-kernel reading of QCOW2 images. > In the project, I only need the reading of QCOW2 images, but it's > essential to make thoughts for the implementation of the writing, too. > One of the difficulties seems to be the support of making an image > sparse (resizing the disk image). Could you describe this requirement in a bit more detail? Especially why do you want to read/write QCOW2 in kernel? > > Now, I want to ask you for advice: What is the best approach to achieve > this? > > * Implement the reading/writing in the device mapper? > * Extend the loop device? > * Create a new subsystem for the processing of sparse devices or images? > > Or do you have any other idea? The 1st idea is that if this feature is really good requirement. Thanks, Ming Lei