Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-15 Thread Paolo Bonzini
Il 14/10/2013 22:10, Wolfgang Richter ha scritto: > Okay, I think my impression might be wrong, but I thought > 'drive-mirror' would become deprecated with the new 'drive-backup' > command and code. > > If we look at what they do (current documentation and code), > 'drive-backup' AFAIK behaves the

Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-14 Thread Eric Blake
On 10/14/2013 02:10 PM, Wolfgang Richter wrote: >> >> Add the designation '(since 1.7)' to make it obvious when this mode was >> introduced. > > Done. Is it better to place the updated patch in this thread or start > a new one? http://wiki.qemu.org/Contribute/SubmitAPatch suggests submitting a

Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-14 Thread Wolfgang Richter
On Sat, Oct 12, 2013 at 1:47 AM, Fam Zheng wrote: > While mirroring write is a good idea, doing it with drive-backup is probably > not. The function of this command is to 'backup' the image with existing data, > instead of new data. With your 'stream' mode, this semantic is changed. I'm not so su

Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-14 Thread Wolfgang Richter
On Fri, Oct 11, 2013 at 11:38 AM, Eric Blake wrote: > On 10/11/2013 09:18 AM, Wolfgang Richter wrote: >> Idea: Introduce a mode for drive-backup that duplicates writes to >> another target, not CoW. It is useful for introspecting (my use >> case), and for keeping a remote block device in sync wit

Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-11 Thread Fam Zheng
On Fri, 10/11 11:18, Wolfgang Richter wrote: > Idea: Introduce a mode for drive-backup that duplicates writes to > another target, not CoW. It is useful for introspecting (my use > case), and for keeping a remote block device in sync with writes > (helps with migration or backup). > > > > Issue

Re: [Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-11 Thread Eric Blake
On 10/11/2013 09:18 AM, Wolfgang Richter wrote: > Idea: Introduce a mode for drive-backup that duplicates writes to > another target, not CoW. It is useful for introspecting (my use > case), and for keeping a remote block device in sync with writes > (helps with migration or backup). > > > > T

[Qemu-devel] [RFC PATCH] drive-backup 'stream' mode

2013-10-11 Thread Wolfgang Richter
Idea: Introduce a mode for drive-backup that duplicates writes to another target, not CoW. It is useful for introspecting (my use case), and for keeping a remote block device in sync with writes (helps with migration or backup). Issue with current modes: All of the current modes are well-desig