summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorStefan Hajnoczi2021-01-25 12:35:06 +0100
committerStefan Hajnoczi2021-02-01 11:50:55 +0100
commit651d588f030097c4950331f8fffb9d442f89ba11 (patch)
tree0a83c83f1fa7747b57286653142fd9d9d56ad276 /include/qemu
parenttrace: add meson custom_target() depend_files for tracetool (diff)
downloadqemu-651d588f030097c4950331f8fffb9d442f89ba11.tar.gz
qemu-651d588f030097c4950331f8fffb9d442f89ba11.tar.xz
qemu-651d588f030097c4950331f8fffb9d442f89ba11.zip
error: rename error_with_timestamp to message_with_timestamp
The -msg timestamp=on|off option controls whether a timestamp is printed with error_report() messages. The "-msg" name suggests that this option has a wider effect than just error_report(). The next patch extends it to the 'log' trace backend, so rename the variable from error_with_timestamp to message_with_timestamp. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210125113507.224287-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/error-report.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/error-report.h b/include/qemu/error-report.h
index a5ad95ff1b..9d197daca3 100644
--- a/include/qemu/error-report.h
+++ b/include/qemu/error-report.h
@@ -74,7 +74,7 @@ void error_init(const char *argv0);
const char *error_get_progname(void);
-extern bool error_with_timestamp;
+extern bool message_with_timestamp;
extern bool error_with_guestname;
extern const char *error_guest_name;