diff options
| author | Alexey Kardashevskiy | 2014-03-11 00:42:29 +0100 |
|---|---|---|
| committer | Amit Shah | 2014-03-27 10:49:00 +0100 |
| commit | 9013dca5539186ddca018bebcf2d5da63d061365 (patch) | |
| tree | b101429b2b6bdcdf14348606a4d45329ea8d821a /vmstate.c | |
| parent | util: add qemu_ether_ntoa (diff) | |
| download | qemu-9013dca5539186ddca018bebcf2d5da63d061365.tar.gz qemu-9013dca5539186ddca018bebcf2d5da63d061365.tar.xz qemu-9013dca5539186ddca018bebcf2d5da63d061365.zip | |
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; } } |
