summaryrefslogtreecommitdiffstats
path: root/hw/tpm/tpm_emulator.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2018-01-10 21:25:51 +0100
committerStefan Hajnoczi2018-01-29 11:34:55 +0100
commit5069b561894206b65a16c3b8cfebd6b3e76c61d6 (patch)
treeb75aa2d0ab03abc3d86876f25509bb3240484073 /hw/tpm/tpm_emulator.c
parentMerge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-01-26' into st... (diff)
downloadqemu-5069b561894206b65a16c3b8cfebd6b3e76c61d6.tar.gz
qemu-5069b561894206b65a16c3b8cfebd6b3e76c61d6.tar.xz
qemu-5069b561894206b65a16c3b8cfebd6b3e76c61d6.zip
tracetool: prefix parse errors with line numbers
Include the file line number in the message that is printed when trace-events parse errors are raised. [Use enumerate(fobj, 1) to avoid having to increment a 0-based index later, as suggested by Eric Blake. --Stefan] Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180110202553.31889-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/tpm/tpm_emulator.c')
0 files changed, 0 insertions, 0 deletions