On Mon, Dec 03, 2018 at 10:18:29AM +0800, Wei Wang wrote:
This patch adds a notifier chain for the memory precopy. This enables various
precopy optimizations to be invoked at specific places.
Signed-off-by: Wei Wang <address@hidden>
CC: Dr. David Alan Gilbert <address@hidden>
CC: Juan Quintela <address@hidden>
CC: Michael S. Tsirkin <address@hidden>
CC: Peter Xu <address@hidden>
---
[...]
+int precopy_notify(PrecopyNotifyReason reason, Error **errp);
This function could be hidden from include/migration/misc.h, but I
don't know whether that is a reason for a repost.
And what I meant was that we fail precopy if notifier failed the
hooks, but warning is fine too anyway no real use case there.