Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-20 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Thu, Oct 19, 2017 at 12:21:23PM +0100, Dr. David Alan Gilbert wrote: > > * Peter Xu (pet...@redhat.com) wrote: > > > On Wed, Oct 18, 2017 at 06:40:06PM +0100, Dr. David Alan Gilbert (git) > > > wrote: > > > > > > [...] > > > > > > > The precopy flow is:

Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-19 Thread Peter Xu
On Thu, Oct 19, 2017 at 12:21:23PM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Wed, Oct 18, 2017 at 06:40:06PM +0100, Dr. David Alan Gilbert (git) > > wrote: > > > > [...] > > > > > The precopy flow is: > > > active->pre-switchover->device->completed > > >

Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-19 Thread Dr. David Alan Gilbert
* Jiri Denemark (jdene...@redhat.com) wrote: > The libvirt changes which will make use of this new migration capability > can be found in migration-pause branch of my gitlab repository: > > git fetch https://gitlab.com/jirkade/libvirt.git migration-pause > > It's not properly split into patch

Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-19 Thread Jiri Denemark
The libvirt changes which will make use of this new migration capability can be found in migration-pause branch of my gitlab repository: git fetch https://gitlab.com/jirkade/libvirt.git migration-pause It's not properly split into patches, it has no commit message etc., but the functionality

Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-19 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Wed, Oct 18, 2017 at 06:40:06PM +0100, Dr. David Alan Gilbert (git) wrote: > > [...] > > > The precopy flow is: > > active->pre-switchover->device->completed > > > > The postcopy flow is: > > active->pre-switchover->postcopy-active->completed > > The n

Re: [Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-18 Thread Peter Xu
On Wed, Oct 18, 2017 at 06:40:06PM +0100, Dr. David Alan Gilbert (git) wrote: [...] > The precopy flow is: > active->pre-switchover->device->completed > > The postcopy flow is: > active->pre-switchover->postcopy-active->completed The naming is still slightly confusing to me: (1) we have a capa

[Qemu-devel] [PATCH v3 0/7] migration: pause-before-switchover

2017-10-18 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Hi, This set attempts to make a race condition between migration and drive-mirror (and other block users) soluble by allowing the migration to be paused after the source qemu releases the block devices but before the serialisation of the device state. The symptom