Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-17 Thread Yuanzhen Gu
I see, thank you very much, Eric! Best, Yuanzhen On Thu, Jul 17, 2014 at 5:26 PM, Eric Blake wrote: > On 07/17/2014 02:20 PM, Yuanzhen Gu wrote: > > Hi Eric, > > [please don't top-post on technical lists] > > > I enabled libvirt debugging, and saw the log file under > > /var/log/libvirt/libvir

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-17 Thread Eric Blake
On 07/17/2014 02:20 PM, Yuanzhen Gu wrote: > Hi Eric, [please don't top-post on technical lists] > I enabled libvirt debugging, and saw the log file under > /var/log/libvirt/libvirtd.log, Which debugging filters did you enable? In particular, you'll want to turn on LIBVIRT_LOG_FILTERS="1:qemu" f

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-17 Thread Yuanzhen Gu
Hi Eric, Thank you very much for your suggestion, it do help. I enabled libvirt debugging, and saw the log file under /var/log/libvirt/libvirtd.log, for example, I saw 2014-07-17 20:06:55.992+: 4391: debug : qemuProcessHandleResume:575 : Transitioned guest ubuntu out of paused into resumed s

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Andrey Korolyov
On Thu, Jul 17, 2014 at 1:48 AM, Yuanzhen Gu wrote: > Thanks very much Andrey! > > how can I figure out whether fsfreeze not succeed while taking snapshot, if > I run a simple application inside VM, say mysql? thanks! > > Best, > Yuanzhen > > > On Wed, Jul 16, 2014 at 5:25 PM, Andrey Korolyov wro

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Yuanzhen Gu
Thanks very much Andrey! how can I figure out whether fsfreeze not succeed while taking snapshot, if I run a simple application inside VM, say mysql? thanks! Best, Yuanzhen On Wed, Jul 16, 2014 at 5:25 PM, Andrey Korolyov wrote: > On Thu, Jul 17, 2014 at 1:18 AM, Eric Blake wrote: > > On 07/

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Yuanzhen Gu
Thank you very much, Eric! So do you mean, if I turn on libvirt debugging to trace QMP/agent commands, I can find the pause and thaw functions in the source code, is it right ? and is there any way that I freeze and thaw outside guest agent via command line? or profiling tools suggest for freez

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Andrey Korolyov
On Thu, Jul 17, 2014 at 1:18 AM, Eric Blake wrote: > On 07/16/2014 03:13 PM, Yuanzhen Gu wrote: >> Hi folks, >> >> >> I am going to make a patch, and need to find the pause and thaw(restore) >> function before and after taking Live QEMU Snapshot respectively. > > Libvirt has the ability to do just

Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Eric Blake
On 07/16/2014 03:13 PM, Yuanzhen Gu wrote: > Hi folks, > > > I am going to make a patch, and need to find the pause and thaw(restore) > function before and after taking Live QEMU Snapshot respectively. Libvirt has the ability to do just that, when taking external disk-only snapshots. You can tu

[Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-16 Thread Yuanzhen Gu
Hi folks, I am going to make a patch, and need to find the pause and thaw(restore) function before and after taking Live QEMU Snapshot respectively. Basically, I'm using # (qemu) snapshot_blkdev taking snapshot, http://wiki.qemu.org/Features/Snapshotsmy profile tool didn't work when givi