error: Fix -msg timestamp default
commitdeda497b846addcc6841274a7ac17e13d3eb146c
authorMarkus Armbruster <armbru@redhat.com>
Thu, 10 Oct 2019 08:15:08 +0000 (10 10:15 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Dec 2019 07:36:15 +0000 (18 08:36 +0100)
tree6871ad500e565b3e350a32420c3789ecfd4688f7
parentaceeaa69d28e6f08a24395d0aa6915b687d0a681
error: Fix -msg timestamp default

-msg parameter "timestamp" defaults to "off" if you don't specify msg,
and to "on" if you do.  Messed up right in commit 5e2ac51917 "add
timestamp to error_report()".  Mostly harmless, because "timestamp" is
the only parameter, so "if you do" is "-msg ''", which nobody does.

Change the default to "off" no matter what.

While there, rename enable_timestamp_msg to error_with_timestamp, and
polish documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191010081508.8978-1-armbru@redhat.com>
include/qemu/error-report.h
qemu-options.hx
util/qemu-error.c
vl.c