Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-21 Thread Kevin Wolf
Am 17.05.2012 17:34, schrieb Richard W.M. Jones: From: Richard W.M. Jones rjo...@redhat.com This produces a qcow2 file which is the difference between two disk images. ie, if: base.img - is a disk image (in any format) modified.img - is base.img, copied and modified then:

Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-21 Thread Richard W.M. Jones
On Mon, May 21, 2012 at 03:29:22PM +0200, Kevin Wolf wrote: Am 17.05.2012 17:34, schrieb Richard W.M. Jones: From: Richard W.M. Jones rjo...@redhat.com This produces a qcow2 file which is the difference between two disk images. ie, if: base.img - is a disk image (in any

Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-21 Thread Kevin Wolf
Am 21.05.2012 15:59, schrieb Richard W.M. Jones: On Mon, May 21, 2012 at 03:29:22PM +0200, Kevin Wolf wrote: Am 17.05.2012 17:34, schrieb Richard W.M. Jones: From: Richard W.M. Jones rjo...@redhat.com This produces a qcow2 file which is the difference between two disk images. ie, if:

Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-21 Thread Eric Blake
On 05/21/2012 07:59 AM, Richard W.M. Jones wrote: Hm, I'm wondering... If I have a command line like this: qemu-img diff -b base.img modified.img diff.qcow2 Would this be equivalent to this sequence? qemu-img create -f qcow2 -b modified.img diff.qcow2 qemu-img rebase -b base.img

Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-21 Thread Kevin Wolf
Am 21.05.2012 17:30, schrieb Eric Blake: On 05/21/2012 07:59 AM, Richard W.M. Jones wrote: Hm, I'm wondering... If I have a command line like this: qemu-img diff -b base.img modified.img diff.qcow2 Would this be equivalent to this sequence? qemu-img create -f qcow2 -b modified.img

[Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-17 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com This produces a qcow2 file which is the difference between two disk images. ie, if: base.img - is a disk image (in any format) modified.img - is base.img, copied and modified then: qemu-img diff -b base.img modified.img diff.qcow2 creates

Re: [Qemu-devel] [PATCH v3] qemu-img: Implement 'diff' operation.

2012-05-17 Thread Eric Blake
On 05/17/2012 09:34 AM, Richard W.M. Jones wrote: From: Richard W.M. Jones rjo...@redhat.com This produces a qcow2 file which is the difference between two disk images. ie, if: base.img - is a disk image (in any format) modified.img - is base.img, copied and modified then: