diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2021-01-25 11:35:06 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2021-02-01 10:50:55 +0000 |
commit | 651d588f030097c4950331f8fffb9d442f89ba11 (patch) | |
tree | 0a83c83f1fa7747b57286653142fd9d9d56ad276 /softmmu | |
parent | 0572d6cd29d6434de166ce67a29fc8ff64777218 (diff) |
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 'softmmu')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index a8876b8965..bd55468669 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -737,7 +737,7 @@ static void realtime_init(void) static void configure_msg(QemuOpts *opts) { - error_with_timestamp = qemu_opt_get_bool(opts, "timestamp", false); + message_with_timestamp = qemu_opt_get_bool(opts, "timestamp", false); error_with_guestname = qemu_opt_get_bool(opts, "guest-name", false); } |