Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-08-14 Thread Mike Kravetz
On 08/13/2018 12:00 PM, Dr. David Alan Gilbert wrote: > cc'ing in Mike*2 > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: >> >> >> On 26.07.2018 12:23, Peter Xu wrote: >>> On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: On 25/07/2018 22:04, Andrea Arcangeli wrote: >

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-08-14 Thread Mike Rapoport
On Mon, Aug 13, 2018 at 08:00:19PM +0100, Dr. David Alan Gilbert wrote: > cc'ing in Mike*2 > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > > > > On 26.07.2018 12:23, Peter Xu wrote: > > > On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: > > > > On 25/07/2018 22:04,

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-08-13 Thread Peter Xu
On Mon, Aug 13, 2018 at 08:00:19PM +0100, Dr. David Alan Gilbert wrote: > cc'ing in Mike*2 > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > > > > On 26.07.2018 12:23, Peter Xu wrote: > > > On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: > > > > On 25/07/2018 22:04,

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-08-13 Thread Dr. David Alan Gilbert
cc'ing in Mike*2 * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > On 26.07.2018 12:23, Peter Xu wrote: > > On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: > > > On 25/07/2018 22:04, Andrea Arcangeli wrote: > > > > > > > > It may look like the uffd-wp model is

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-08-13 Thread Denis Plotnikov
On 26.07.2018 12:23, Peter Xu wrote: On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: On 25/07/2018 22:04, Andrea Arcangeli wrote: It may look like the uffd-wp model is wish-feature similar to an optimization, but without the uffd-wp model when the WP fault is triggered by

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-26 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > On 25/07/2018 22:04, Andrea Arcangeli wrote: > > > > It may look like the uffd-wp model is wish-feature similar to an > > optimization, but without the uffd-wp model when the WP fault is > > triggered by kernel code, the sigsegv model falls apart and

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-26 Thread Peter Xu
On Thu, Jul 26, 2018 at 10:51:33AM +0200, Paolo Bonzini wrote: > On 25/07/2018 22:04, Andrea Arcangeli wrote: > > > > It may look like the uffd-wp model is wish-feature similar to an > > optimization, but without the uffd-wp model when the WP fault is > > triggered by kernel code, the sigsegv

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-26 Thread Paolo Bonzini
On 25/07/2018 22:04, Andrea Arcangeli wrote: > > It may look like the uffd-wp model is wish-feature similar to an > optimization, but without the uffd-wp model when the WP fault is > triggered by kernel code, the sigsegv model falls apart and requires > all kind of ad-hoc changes just for this

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-25 Thread Andrea Arcangeli
On Wed, Jul 25, 2018 at 08:17:37PM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Fri, Jun 29, 2018 at 12:53:59PM +0100, Dr. David Alan Gilbert wrote: > > > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > > The patch set adds the ability to make

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-25 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Fri, Jun 29, 2018 at 12:53:59PM +0100, Dr. David Alan Gilbert wrote: > > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > > The patch set adds the ability to make external snapshots while VM is > > > running. > > > > cc'ing in Andrea since this

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-25 Thread Peter Xu
On Fri, Jun 29, 2018 at 12:53:59PM +0100, Dr. David Alan Gilbert wrote: > * Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > > The patch set adds the ability to make external snapshots while VM is > > running. > > cc'ing in Andrea since this uses sigsegv's to avoid userfault-wp that > isn't

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-16 Thread Denis Plotnikov
On 13.07.2018 08:20, Peter Xu wrote: On Fri, Jun 29, 2018 at 11:03:13AM +0300, Denis Plotnikov wrote: The patch set adds the ability to make external snapshots while VM is running. The workflow to make a snapshot is the following: 1. Pause the vm 2. Make a snapshot of block devices using

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-12 Thread Peter Xu
On Fri, Jun 29, 2018 at 11:03:13AM +0300, Denis Plotnikov wrote: > The patch set adds the ability to make external snapshots while VM is running. > > The workflow to make a snapshot is the following: > 1. Pause the vm > 2. Make a snapshot of block devices using the scheme of your choice > 3. Turn

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-02 Thread Peter Xu
On Mon, Jul 02, 2018 at 03:40:31PM +0300, Denis Plotnikov wrote: > > > On 02.07.2018 14:23, Peter Xu wrote: > > On Fri, Jun 29, 2018 at 11:03:13AM +0300, Denis Plotnikov wrote: > > > The patch set adds the ability to make external snapshots while VM is > > > running. > > > > Hi, Denis, > > >

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-02 Thread Denis Plotnikov
On 02.07.2018 14:23, Peter Xu wrote: On Fri, Jun 29, 2018 at 11:03:13AM +0300, Denis Plotnikov wrote: The patch set adds the ability to make external snapshots while VM is running. Hi, Denis, This work is interesting, though I have a few questions to ask in general below. The workflow

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-07-02 Thread Peter Xu
On Fri, Jun 29, 2018 at 11:03:13AM +0300, Denis Plotnikov wrote: > The patch set adds the ability to make external snapshots while VM is running. Hi, Denis, This work is interesting, though I have a few questions to ask in general below. > > The workflow to make a snapshot is the following: >

Re: [Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-06-29 Thread Dr. David Alan Gilbert
* Denis Plotnikov (dplotni...@virtuozzo.com) wrote: > The patch set adds the ability to make external snapshots while VM is running. cc'ing in Andrea since this uses sigsegv's to avoid userfault-wp that isn't there yet. Hi Denis, How robust are you finding this SEGV based trick; for example

[Qemu-devel] [PATCH v0 0/7] Background snapshots

2018-06-29 Thread Denis Plotnikov
The patch set adds the ability to make external snapshots while VM is running. The workflow to make a snapshot is the following: 1. Pause the vm 2. Make a snapshot of block devices using the scheme of your choice 3. Turn on background-snapshot migration capability 4. Start the migration using the