Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-12-20 Thread Gionatan Danti
Il 2022-12-12 08:39 Peter Krempa ha scritto: Hi, When creating a snapshot libvirt uses the qemu default for the created qcow2 image's version which is now v3. Do you have any specific use case for keeping them in v2 mode? Hi, it really is the other way around: I am surprised virsh vol-create

Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-12-11 Thread Peter Krempa
On Sun, Dec 11, 2022 at 20:36:26 +0100, Gionatan Danti wrote: > Il 2022-11-26 10:36 Gionatan Danti ha scritto: > > Il 2022-11-21 10:30 Peter Krempa ha scritto: > > > In regards to the 'compat' option in terms of snapshots/blockcopy, we > > > don't set it and thus use the qemu default. Since both

Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-12-11 Thread Gionatan Danti
Il 2022-11-26 10:36 Gionatan Danti ha scritto: Il 2022-11-21 10:30 Peter Krempa ha scritto: In regards to the 'compat' option in terms of snapshots/blockcopy, we don't set it and thus use the qemu default. Since both operations create a new image with an existing qemu instance, the default new

Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-11-26 Thread Gionatan Danti
Il 2022-11-21 10:30 Peter Krempa ha scritto: In regards to the 'compat' option in terms of snapshots/blockcopy, we don't set it and thus use the qemu default. Since both operations create a new image with an existing qemu instance, the default new qemu format is okay. Hi, some idea on why

Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-11-21 Thread Meina Li
Hi Peter, I can learn a lot from what you said. Thank you very much. Best Regards, Meina Li On Mon, Nov 21, 2022 at 5:30 PM Peter Krempa wrote: > On Mon, Nov 21, 2022 at 11:22:40 +0800, Meina Li wrote: > > Hi, > > > > I'm trying to find out which qcow2 options could be inherited to > >

Re: [Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-11-21 Thread Peter Krempa
On Mon, Nov 21, 2022 at 11:22:40 +0800, Meina Li wrote: > Hi, > > I'm trying to find out which qcow2 options could be inherited to > snapshot/blockcopy and then test them. > > From https://github.com/qemu/qemu/blob/master/qapi/block-core.json#L4720 we > can know all the qcow2 options. As far as

[Question] Which qcow2 options could be inherited to snapshot/blockcopy?

2022-11-20 Thread Meina Li
Hi, I'm trying to find out which qcow2 options could be inherited to snapshot/blockcopy and then test them. >From https://github.com/qemu/qemu/blob/master/qapi/block-core.json#L4720 we can know all the qcow2 options. As far as I know, size, cluster_size and extended-l2 have already been