]> git.proxmox.com Git - qemu.git/commit - migration.h
add migration state change notifiers
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 13 Dec 2010 16:30:12 +0000 (17:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jan 2011 14:13:54 +0000 (15:13 +0100)
commit99a0db9b8dd72ea20a2d4cd99fe91b08903ae857
treeb537aab449052a24a630f90ad3405c0d573644db
parent0bfe006c5380c5f8a485a55ded3329fbbc224396
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>
migration.c
migration.h