vl.c: Replace fprintf(stderr) with error_report()
commitf61eddcb2bb5cbbdd1d911b7e937db9affc29028
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 30 Oct 2015 15:07:52 +0000 (30 13:07 -0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 3 Nov 2015 08:37:50 +0000 (3 09:37 +0100)
treec09948b13569da0d9a300528e9f53f851d614dcd
parent3d861a01093f8eedfac9889746ccafcfd32039b7
vl.c: Replace fprintf(stderr) with error_report()

Straightforward replacement, except for qemu_kill_report(), which
printed a common part of its error message first, then the applicable
special part.  Print each complete message with a single
error_report() instead.

Multi-line messages were replaced by error_report() followed by
error_printf().

The following changes were made to the error messages:

* The "invalid date format" message was reworded to better fit
  the new error_report()+error_printf() pattern.
* On the remaining messages, only the trailing newlines, "qemu:" and
  "error:" message prefixes were removed.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1446217682-24421-2-git-send-email-ehabkost@redhat.com>
[Squashed in
Message-Id: <1446217682-24421-3-git-send-email-ehabkost@redhat.com>
and updated commit message]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
vl.c