mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
migration: Trace improvements
A couple of improvements to tracing that have come out of helping people with migration problems: * vmstate_n_elems trace the count/name - for when you have problems getting array counts right * vmstate_subsection_load_bad - add the idstr, for when you receive a subsection you weren't expecting. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <1465896986-16132-1-git-send-email-dgilbert@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
4d88513157
commit
023ad1a6e9
2 changed files with 9 additions and 7 deletions
|
@ -1271,8 +1271,9 @@ vmstate_load_field_error(const char *field, int ret) "field \"%s\" load failed,
|
|||
vmstate_load_state(const char *name, int version_id) "%s v%d"
|
||||
vmstate_load_state_end(const char *name, const char *reason, int val) "%s %s/%d"
|
||||
vmstate_load_state_field(const char *name, const char *field) "%s:%s"
|
||||
vmstate_n_elems(const char *name, int n_elems) "%s: %d"
|
||||
vmstate_subsection_load(const char *parent) "%s"
|
||||
vmstate_subsection_load_bad(const char *parent, const char *sub) "%s: %s"
|
||||
vmstate_subsection_load_bad(const char *parent, const char *sub, const char *sub2) "%s: %s/%s"
|
||||
vmstate_subsection_load_good(const char *parent) "%s"
|
||||
|
||||
# qemu-file.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue