Re: [Qemu-devel] Taking live snapshots of running VMs

2011-07-11 Thread Kevin Wolf
Am 09.07.2011 00:24, schrieb Ahmed M. Azab: > Hi All, > > Is there a way to take a live memory snapshot of a running VM without > freezing or stopping this VM? > > I explored the Qemu code and documentation and I found two ways to > take a snapshot: > > 1-Using "savevm" Qemu monitor command, whi

Re: [Qemu-devel] Taking live snapshots of running VMs

2011-07-11 Thread Jes Sorensen
On 07/09/11 00:24, Ahmed M. Azab wrote: > Hi All, > > Is there a way to take a live memory snapshot of a running VM without > freezing or stopping this VM? > > I explored the Qemu code and documentation and I found two ways to > take a snapshot: What you are talking about is called a 'checkpoint

Re: [Qemu-devel] Taking live snapshots of running VMs

2011-07-09 Thread Stefan Hajnoczi
On Fri, Jul 8, 2011 at 11:24 PM, Ahmed M. Azab wrote: > Is there a way to take a live memory snapshot of a running VM without > freezing or stopping this VM? You could add a bit of code that forks QEMU. The kernel does memory copy-on-write across fork(2). Make sure not to use file-backed/shared

Re: [Qemu-devel] Taking live snapshots of running VMs

2011-07-08 Thread Mulyadi Santosa
On Sat, Jul 9, 2011 at 05:24, Ahmed M. Azab wrote: > Hi All, > > Is there a way to take a live memory snapshot of a running VM without > freezing or stopping this VM? something like what Xen does with live migration by using incremental page migration (or something named like that?)? -- regards

[Qemu-devel] Taking live snapshots of running VMs

2011-07-08 Thread Ahmed M. Azab
Hi All, Is there a way to take a live memory snapshot of a running VM without freezing or stopping this VM? I explored the Qemu code and documentation and I found two ways to take a snapshot: 1-Using "savevm" Qemu monitor command, which freezes the VM for tens of seconds 2-Using "migrate" and se