Am 02.03.2015 um 18:49 hat Max Reitz geschrieben: > >+2. Create a destination image for the incremental backup that utilizes the > >+full backup as a backing image. > >+ > >+ * Let's assume it is named 'incremental.0.img'. > >+ > >+ ```sh > >+ # qemu-img create -f qcow2 incremental.0.img -b full_backup.img -F qcow2 > >+ ``` > > Aha, using .img for qcow2. *g* > > Also, we really do need some sort of image-create for QMP at some > point in time, I guess...
Not really necessary on its own, because in practice management applications can (and do) just call qemu-img, but it implies QAPIfication of the image creation and I believe that is something that we do want. With features like specifying separate options for protocols and formats, perhaps even including filters during image creation. Essentially "blockdev" work for create instead of open. The QMP command would then just happen to fall out of that work naturally. Kevin