Re: [Qemu-devel] [PATCH v2] migration: disallow migrate_add_blocker during migration

2015-10-09 Thread John Snow
On 10/09/2015 03:42 PM, Eric Blake wrote: > On 09/30/2015 11:07 AM, John Snow wrote: >> If a migration is already in progress and somebody attempts >> to add a migration blocker, this should rightly fail. >> >> Add an errp parameter and a retcode return value to migrate_add_blocker. >> >> This is

Re: [Qemu-devel] [PATCH v2] migration: disallow migrate_add_blocker during migration

2015-10-09 Thread Eric Blake
On 09/30/2015 11:07 AM, John Snow wrote: > If a migration is already in progress and somebody attempts > to add a migration blocker, this should rightly fail. > > Add an errp parameter and a retcode return value to migrate_add_blocker. > > This is part one of two for a solution to prohibit e.g. b

Re: [Qemu-devel] [PATCH v2] migration: disallow migrate_add_blocker during migration

2015-10-09 Thread Dr. David Alan Gilbert
* John Snow (js...@redhat.com) wrote: > If a migration is already in progress and somebody attempts > to add a migration blocker, this should rightly fail. > > Add an errp parameter and a retcode return value to migrate_add_blocker. > > This is part one of two for a solution to prohibit e.g. bloc

[Qemu-devel] [PATCH v2] migration: disallow migrate_add_blocker during migration

2015-10-01 Thread John Snow
If a migration is already in progress and somebody attempts to add a migration blocker, this should rightly fail. Add an errp parameter and a retcode return value to migrate_add_blocker. This is part one of two for a solution to prohibit e.g. block jobs from running concurrently with migration.