Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-06-09 Thread Jagane Sundar
Hello Stefan, Can you expand on this some more? I have similar concerns for Livebackup. At the beginning of your paragraph, did you mean 'asynchronous I/O emulation' instead of 'synchronous I/O emulation'? Also, I don't understand the 'stack' construct that you refer to. When you say 'push

Re: [Qemu-devel] [patch 6/7] QEMU live block copy

2011-06-08 Thread Jagane Sundar
On 6/7/2011 5:15 AM, Stefan Hajnoczi wrote: On Mon, Jun 6, 2011 at 5:55 PM, Marcelo Tosattimtosa...@redhat.com wrote: I haven't reviewed this whole patch yet, but comments below. This patch, like image streaming, may hit deadlocks due to synchronous I/O emulation. I discovered this problem

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-27 Thread Jagane Sundar
On 5/27/2011 9:46 AM, Stefan Hajnoczi wrote: On Mon, May 23, 2011 at 2:02 PM, Stefan Hajnoczistefa...@gmail.com wrote: On Sun, May 22, 2011 at 10:52 AM, Dor Laordl...@redhat.com wrote: On 05/20/2011 03:19 PM, Stefan Hajnoczi wrote: I'm interested in what the API for snapshots would look

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-22 Thread Jagane Sundar
Hello Stefan, I have been thinking about this since you sent out this message. A quick look at the libvirt API indicates that their notion of a snapshot often refers to a disk+memory snapshot. It would be good to provide feedback to the libvirt developers to make sure that proper support for a

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-18 Thread Jagane Sundar
in these three technologies, I think we should support all three in base qemu. This would make qemu/qemu-kvm more feature rich than vmware, xen and hyper-v. Thanks, Jagane On 5/17/2011 3:53 PM, Dor Laor wrote: On 05/16/2011 11:23 AM, Jagane Sundar wrote: Hello Dor, Let me see if I understand live

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-16 Thread Jagane Sundar
Hello Dor, Let me see if I understand live snapshot correctly: If I want to configure a VM for daily backup, then I would do the following: - Create a snapshot s1. s0 is marked read-only. - Do a full backup of s0 on day 0. - On day 1, I would create a new snapshot s2, then copy over the

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-15 Thread Jagane Sundar
Hello Dor, One important advantage of live snapshot over live backup is support of multiple (consecutive) live snapshots while there can be only a single live backup at one time. This is why I tend to think that although live backup carry some benefit (no merge required), the live snapshot +

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-12 Thread Jagane Sundar
On 5/12/2011 8:33 AM, Jes Sorensen wrote: On 05/09/11 15:40, Dor Laor wrote: Summary: * We need Marcelo's new (to come) block copy implementation * should work in parallel to migration and hotplug * General copy on read is desirable * Live snapshot merge to be implemented using