Re: [Qemu-devel] [RFC] Replication agent design (was [RFC PATCH] replication agent module)

2012-02-20 Thread Paolo Bonzini
On 02/19/2012 02:40 PM, Ori Mamluk wrote: I think it might be better to go back to my original less generic design. We can regard it as a 'plugin' for a specific application - in this case, replication. I can add a plugin interface in the generic block layer that allows building a proper

Re: [Qemu-devel] [RFC] Replication agent design (was [RFC PATCH] replication agent module)

2012-02-19 Thread Ori Mamluk
On 08/02/2012 16:59, Stefan Hajnoczi wrote: On Wed, Feb 8, 2012 at 1:28 PM, Ori Mamlukomam...@zerto.com wrote: You mentioned a future feature that sends request metadata (offset, length) to the rephub synchronously so that protection is 100%. (Otherwise a network failure or crash might result

Re: [Qemu-devel] [RFC] Replication agent design (was [RFC PATCH] replication agent module)

2012-02-08 Thread Ori Mamluk
Hi, Thanks for all the valuable inputs provided so far, I'll try to suggest a design based on them. The main inputs were about the use a new transport protocol between repagent and rephub. It was suggested to use some standard network storage protocol instead, and use QMP commands for the

Re: [Qemu-devel] [RFC] Replication agent design (was [RFC PATCH] replication agent module)

2012-02-08 Thread Stefan Hajnoczi
On Wed, Feb 8, 2012 at 1:28 PM, Ori Mamluk omam...@zerto.com wrote: Hi, Thanks for all the valuable inputs provided so far, I'll try to suggest a design based on them. The main inputs were about the use a new transport protocol between repagent and rephub. It was suggested to use some

Re: [Qemu-devel] [RFC] Replication agent design (was [RFC PATCH] replication agent module)

2012-02-08 Thread Stefan Hajnoczi
On Wed, Feb 8, 2012 at 2:59 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Feb 8, 2012 at 1:28 PM, Ori Mamluk omam...@zerto.com wrote: Hi, Thanks for all the valuable inputs provided so far, I'll try to suggest a design based on them. The main inputs were about the use a new transport