diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-01-25 16:14:17 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-01-31 17:11:18 +0000 |
commit | 25d54654da2a2d1c612c827e6155d3bec0e1201f (patch) | |
tree | f5121430d672e078ae315d1907883f980f0d7589 /qapi/qapi-visit-core.c | |
parent | d4fa8436ce37f125d29d015b06b8cd0e00d6051a (diff) |
trace: improve error reporting when parsing simpletrace header
When loading a simpletrace binary file we just report
"Not a valid trace file!" which is not very helpful. Report
exactly which field we found to be invalid.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170125161417.31949-9-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi/qapi-visit-core.c')
0 files changed, 0 insertions, 0 deletions