diff options
| author | Thomas Huth | 2018-05-04 19:01:07 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-05-09 00:13:39 +0200 |
| commit | 1217d6ca2bf28c0febe1bd7d5b3fa912bbf6af2a (patch) | |
| tree | 4f854522c6ac02bb10ebdb9ebb13c396a8b857ac /include/exec | |
| parent | qemu-options: Remove remainders of the -tdf option (diff) | |
| download | qemu-1217d6ca2bf28c0febe1bd7d5b3fa912bbf6af2a.tar.gz qemu-1217d6ca2bf28c0febe1bd7d5b3fa912bbf6af2a.tar.xz qemu-1217d6ca2bf28c0febe1bd7d5b3fa912bbf6af2a.zip | |
qemu-options: Bail out on unsupported options instead of silently ignoring them
The dangling remainder of the -tdf option revealed a deficiency in our
option parsing: Options that have been declared, but are not supported
in the switch-case statement in vl.c and not handled in the OS-specifc
os_parse_cmd_args() functions are currently silently ignored. We should
rather tell the users that they specified something that we can not
handle, so let's print an error message and exit instead.
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1525453270-23074-3-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
