This series adds tracepoints about state transition of VM to get information of live migration. I fixed the function names to "migrate_" prefix as Stefan pointed out[1] and tested it.
The previous version[2] doesn't seem to be taken in qemu tree, so if this version is better, please take it in. [1]: http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01198.html [2]: http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg00775.html Kazuya Saito (2): vl: add trace_runstate_set() migration: add migrate_set_state(), add trace_migrate_set_state() include/migration/migration.h | 2 ++ migration.c | 19 +++++++++++++------ trace-events | 4 ++++ vl.c | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-)