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 /vmstate.c | |
parent | 4297c8ee6f0ef70e5a71e3387a0fccaa20b04f94 (diff) |
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 'vmstate.c')
-rw-r--r-- | vmstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include "migration/qemu-file.h" #include "migration/vmstate.h" #include "qemu/bitops.h" +#include "trace.h" static void vmstate_subsection_save(QEMUFile *f, const VMStateDescription *vmsd, void *opaque); @@ -73,6 +74,7 @@ int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd, } if (ret < 0) { + trace_vmstate_load_field_error(field->name, ret); return ret; } } |