diff options
author | Markus Armbruster | 2016-05-31 10:31:38 +0200 |
---|---|---|
committer | Markus Armbruster | 2016-06-20 16:36:29 +0200 |
commit | da002526ac30f679b0c797b0d71102dcdf200fe6 (patch) | |
tree | 4d1556214934b773b7b3f36cc2010c41deb3b23e /ui/cursor.c | |
parent | Merge remote-tracking branch 'remotes/otubo/tags/pull-seccomp-20160620' into ... (diff) | |
download | qemu-da002526ac30f679b0c797b0d71102dcdf200fe6.tar.gz qemu-da002526ac30f679b0c797b0d71102dcdf200fe6.tar.xz qemu-da002526ac30f679b0c797b0d71102dcdf200fe6.zip |
vl: Error messages need to go to stderr, fix some
We print a few fatal error messages to stdout instead of stderr.
Reproducer:
$ qemu-system-x86_64 -g 1024x768
Option g not supported for this target
$ qemu-system-x86_64 -g 1024x768 >/dev/null
Fix by printing them with error_report(). This also improves the messages.
The above one becomes
qemu-system-x86_64: -g 1024x768: Option not supported for this target
Reported-by: Tobi {github.com/tobimensch}
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1464683498-28779-1-git-send-email-armbru@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Diffstat (limited to 'ui/cursor.c')
0 files changed, 0 insertions, 0 deletions