Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-23 Thread Greg Kurz
On Mon, 23 May 2016 21:42:23 +0530 Amit Shah wrote: > On (Wed) 11 May 2016 [14:10:34], Greg Kurz wrote: > > On Wed, 11 May 2016 13:59:19 +0200 > > Paolo Bonzini wrote: > > > > > On 04/05/2016 21:44, Greg Kurz wrote: > > > > QEMU has currently two ways to prevent migration to occur: > > > >

Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-23 Thread Amit Shah
On (Wed) 11 May 2016 [14:10:34], Greg Kurz wrote: > On Wed, 11 May 2016 13:59:19 +0200 > Paolo Bonzini wrote: > > > On 04/05/2016 21:44, Greg Kurz wrote: > > > QEMU has currently two ways to prevent migration to occur: > > > - migration blocker when it depends on runtime state > > > - VMStateDesc

Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-11 Thread Greg Kurz
On Wed, 11 May 2016 13:59:19 +0200 Paolo Bonzini wrote: > On 04/05/2016 21:44, Greg Kurz wrote: > > QEMU has currently two ways to prevent migration to occur: > > - migration blocker when it depends on runtime state > > - VMStateDescription.unmigratable when migration is not supported at all > >

Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-11 Thread Paolo Bonzini
On 04/05/2016 21:44, Greg Kurz wrote: > QEMU has currently two ways to prevent migration to occur: > - migration blocker when it depends on runtime state > - VMStateDescription.unmigratable when migration is not supported at all > > This patch gathers all the logic into a single function to be c

Re: [Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-11 Thread Greg Kurz
On Wed, 04 May 2016 21:44:19 +0200 Greg Kurz wrote: > QEMU has currently two ways to prevent migration to occur: > - migration blocker when it depends on runtime state > - VMStateDescription.unmigratable when migration is not supported at all > > This patch gathers all the logic into a single fu

[Qemu-devel] [PATCH] migration: introduce migrate_is_blocked()

2016-05-04 Thread Greg Kurz
QEMU has currently two ways to prevent migration to occur: - migration blocker when it depends on runtime state - VMStateDescription.unmigratable when migration is not supported at all This patch gathers all the logic into a single function to be called from both the savevm and the migrate paths.