commit | 99a0db9b8dd72ea20a2d4cd99fe91b08903ae857 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Mon Dec 13 17:30:12 2010 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Jan 24 15:13:54 2011 +0100 |
tree | b537aab449052a24a630f90ad3405c0d573644db | |
parent | 0bfe006c5380c5f8a485a55ded3329fbbc224396 [diff] |
add migration state change notifiers This patch adds functions to register and unregister notifiers for migration state changes and a function to query the migration state. The notifier is called on every state change. Once after establishing a new migration object (which is in active state then) and once when the state changes from active to completed, canceled or error. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>