Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Eric Blake
On 11/02/2012 09:18 AM, Kuniyasu Suzaki wrote: >> 1. Make the original image read-only accessible over NFS. >> 2. Modify QEMU to create two external snapshot files when the VM is >> paused for migration (during your fork operation): >> >> /host-a/original.qcow2 >> /host-a/new.qcow2 (backing file: /

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Eric Blake
On 11/02/2012 09:00 AM, Kuniyasu Suzaki wrote: >> You are not the first to request this - libvirt would also like the >> ability to have read-only access into the contents of an internal >> snapshot while the rest of qemu continues to write into the image. > > Do you mean that libvirt can change t

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Kuniyasu Suzaki
Hello Stefan, From: Stefan Hajnoczi Subject: Re: [Qemu-devel] live migration which includes previos snapshot Date: Fri, 2 Nov 2012 11:30:25 +0100 > If you are forking the VM so that there will be two VMs running > simultaneously, then a single qcow2 file cannot be used. > >

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Kuniyasu Suzaki
Hello Eric, From: Eric Blake Subject: Re: [Qemu-devel] live migration which includes previos snapshot Date: Fri, 02 Nov 2012 07:12:21 -0600 > On 11/02/2012 04:30 AM, Stefan Hajnoczi wrote: > > > II. If you want to use internal snapshots in a single qcow2 file, you > > will n

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Eric Blake
On 11/02/2012 04:30 AM, Stefan Hajnoczi wrote: > II. If you want to use internal snapshots in a single qcow2 file, you > will need to modify QEMU code more: > 1. Implement BlockDriverState snapshot slave support so a qcow2 > snapshot can be read-only accessed as a BlockDriverState while the > mast

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Stefan Hajnoczi
On Fri, Nov 2, 2012 at 9:24 AM, Kuniyasu Suzaki wrote: > > Hello Stefan, > > From: Stefan Hajnoczi > Subject: Re: [Qemu-devel] live migration which includes previos snapshot > Date: Fri, 2 Nov 2012 08:19:15 +0100 > >> On Fri, Nov 2, 2012 at 4:15 AM, Kuniyasu S

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Kuniyasu Suzaki
Hello Stefan, From: Stefan Hajnoczi Subject: Re: [Qemu-devel] live migration which includes previos snapshot Date: Fri, 2 Nov 2012 08:19:15 +0100 > On Fri, Nov 2, 2012 at 4:15 AM, Kuniyasu Suzaki wrote: > > Can live migration of QEMU include previous snapshot images? > > I wa

Re: [Qemu-devel] live migration which includes previos snapshot

2012-11-02 Thread Stefan Hajnoczi
On Fri, Nov 2, 2012 at 4:15 AM, Kuniyasu Suzaki wrote: > Can live migration of QEMU include previous snapshot images? > I want to roll back to a previous snapshot image on another machine > after live migration. > > I was thinking Block Migration bring the snapshot images of QCOW2, but > Block Mig

[Qemu-devel] live migration which includes previos snapshot

2012-11-01 Thread Kuniyasu Suzaki
Hello, Can live migration of QEMU include previous snapshot images? I want to roll back to a previous snapshot image on another machine after live migration. I was thinking Block Migration bring the snapshot images of QCOW2, but Block Migration transfers the hard disk image only. Do I have other