diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-03-11 10:42:29 +1100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2014-03-27 15:19:00 +0530 |
commit | 9013dca5539186ddca018bebcf2d5da63d061365 (patch) | |
tree | b101429b2b6bdcdf14348606a4d45329ea8d821a /qemu-file.c | |
parent | 4297c8ee6f0ef70e5a71e3387a0fccaa20b04f94 (diff) | |
download | qemu-9013dca5539186ddca018bebcf2d5da63d061365.zip qemu-9013dca5539186ddca018bebcf2d5da63d061365.tar.gz qemu-9013dca5539186ddca018bebcf2d5da63d061365.tar.bz2 |
migration: add more traces
This replaces DPRINTF macro with tracepoints.
This moves some messages from migration.c to savevm.c.
This adds tracepoint to signal about fileds failed to migrate.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'qemu-file.c')
-rw-r--r-- | qemu-file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-file.c b/qemu-file.c index e5ec798..8d5f45d 100644 --- a/qemu-file.c +++ b/qemu-file.c @@ -4,6 +4,7 @@ #include "block/coroutine.h" #include "migration/migration.h" #include "migration/qemu-file.h" +#include "trace.h" #define IO_BUF_SIZE 32768 #define MAX_IOV_SIZE MIN(IOV_MAX, 64) @@ -595,6 +596,7 @@ int qemu_fclose(QEMUFile *f) ret = f->last_error; } g_free(f); + trace_qemu_file_fclose(); return ret; } |