Re: [Qemu-devel] [RFC 06/29] postcopy: Add notifier chain

2017-07-12 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Wed, Jun 28, 2017 at 08:00:24PM +0100, Dr. David Alan Gilbert (git) wrote: > > [...] > > > diff --git a/migration/postcopy-ram.h b/migration/postcopy-ram.h > > index 78a3591322..d688411674 100644 > > --- a/migration/postcopy-ram.h > > +++ b/migration/pos

Re: [Qemu-devel] [RFC 06/29] postcopy: Add notifier chain

2017-07-10 Thread Peter Xu
On Wed, Jun 28, 2017 at 08:00:24PM +0100, Dr. David Alan Gilbert (git) wrote: [...] > diff --git a/migration/postcopy-ram.h b/migration/postcopy-ram.h > index 78a3591322..d688411674 100644 > --- a/migration/postcopy-ram.h > +++ b/migration/postcopy-ram.h > @@ -114,4 +114,30 @@ PostcopyState postc

[Qemu-devel] [RFC 06/29] postcopy: Add notifier chain

2017-06-28 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Add a notifier chain for postcopy with a 'reason' flag and an opportunity for a notifier member to return an error. Call it when enabling postcopy. This will initially used to enable devices to declare they're unable to postcopy and later to notify of devices of s