RE: [PATCH v0 0/4] background snapshot

2020-08-04 Thread Zhanghailiang
@redhat.com; quint...@redhat.com; > ebl...@redhat.com; arm...@redhat.com; pet...@redhat.com; > d...@openvz.org > Subject: Re: [PATCH v0 0/4] background snapshot > > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > Currently where is no way to make a vm snapshot without pa

Re: [PATCH v0 0/4] background snapshot

2020-07-27 Thread Dr. David Alan Gilbert
* Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > Currently where is no way to make a vm snapshot without pausing a vm > for the whole time until the snapshot is done. So, the problem is > the vm downtime on snapshoting. The downtime value depends on the vmstate > size, the major part of which

Re: [PATCH v0 0/4] background snapshot

2020-07-24 Thread Peter Xu
On Fri, Jul 24, 2020 at 11:06:17AM +0300, Denis Plotnikov wrote: > > > On 23.07.2020 20:39, Peter Xu wrote: > > On Thu, Jul 23, 2020 at 11:03:55AM +0300, Denis Plotnikov wrote: > > > > > > On 22.07.2020 19:30, Peter Xu wrote: > > > > On Wed, Jul 22, 2020 at 06:47:44PM +0300, Denis Plotnikov

Re: [PATCH v0 0/4] background snapshot

2020-07-24 Thread Denis Plotnikov
On 23.07.2020 20:39, Peter Xu wrote: On Thu, Jul 23, 2020 at 11:03:55AM +0300, Denis Plotnikov wrote: On 22.07.2020 19:30, Peter Xu wrote: On Wed, Jul 22, 2020 at 06:47:44PM +0300, Denis Plotnikov wrote: On 22.07.2020 18:42, Denis Plotnikov wrote: On 22.07.2020 17:50, Peter Xu wrote:

Re: [PATCH v0 0/4] background snapshot

2020-07-23 Thread Peter Xu
On Thu, Jul 23, 2020 at 11:03:55AM +0300, Denis Plotnikov wrote: > > > On 22.07.2020 19:30, Peter Xu wrote: > > On Wed, Jul 22, 2020 at 06:47:44PM +0300, Denis Plotnikov wrote: > > > > > > On 22.07.2020 18:42, Denis Plotnikov wrote: > > > > > > > > On 22.07.2020 17:50, Peter Xu wrote: > > > >

Re: [PATCH v0 0/4] background snapshot

2020-07-23 Thread Denis Plotnikov
On 22.07.2020 19:30, Peter Xu wrote: On Wed, Jul 22, 2020 at 06:47:44PM +0300, Denis Plotnikov wrote: On 22.07.2020 18:42, Denis Plotnikov wrote: On 22.07.2020 17:50, Peter Xu wrote: Hi, Denis, Hi, Peter ... How to use: 1. enable background snapshot capability     virsh

Re: [PATCH v0 0/4] background snapshot

2020-07-22 Thread Peter Xu
On Wed, Jul 22, 2020 at 06:47:44PM +0300, Denis Plotnikov wrote: > > > On 22.07.2020 18:42, Denis Plotnikov wrote: > > > > > > On 22.07.2020 17:50, Peter Xu wrote: > > > Hi, Denis, > > Hi, Peter > > > ... > > > > How to use: > > > > 1. enable background snapshot capability > > > >     virsh

Re: [PATCH v0 0/4] background snapshot

2020-07-22 Thread Denis Plotnikov
On 22.07.2020 18:42, Denis Plotnikov wrote: On 22.07.2020 17:50, Peter Xu wrote: Hi, Denis, Hi, Peter ... How to use: 1. enable background snapshot capability     virsh qemu-monitor-command vm --hmp migrate_set_capability background-snapshot on 2. stop the vm     virsh

Re: [PATCH v0 0/4] background snapshot

2020-07-22 Thread Denis Plotnikov
On 22.07.2020 17:50, Peter Xu wrote: Hi, Denis, Hi, Peter ... How to use: 1. enable background snapshot capability virsh qemu-monitor-command vm --hmp migrate_set_capability background-snapshot on 2. stop the vm virsh qemu-monitor-command vm --hmp stop 3. Start the external

Re: [PATCH v0 0/4] background snapshot

2020-07-22 Thread Peter Xu
Hi, Denis, On Wed, Jul 22, 2020 at 11:11:29AM +0300, Denis Plotnikov wrote: > Currently where is no way to make a vm snapshot without pausing a vm > for the whole time until the snapshot is done. So, the problem is > the vm downtime on snapshoting. The downtime value depends on the vmstate >

[PATCH v0 0/4] background snapshot

2020-07-22 Thread Denis Plotnikov
Currently where is no way to make a vm snapshot without pausing a vm for the whole time until the snapshot is done. So, the problem is the vm downtime on snapshoting. The downtime value depends on the vmstate size, the major part of which is RAM and the disk performance which is used for the