diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-02-21 16:24:03 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-02-21 22:10:17 +0100 |
commit | 7cc07ab8daa01f100f36ab63382d491f2d278c64 (patch) | |
tree | 47f3f18f95fd5c2a283cc89d43c50c615602248c /include/qemu/host-utils.h | |
parent | 5b7aa9b56d1bfc79916262f380c3fc7961becb50 (diff) | |
download | qemu-7cc07ab8daa01f100f36ab63382d491f2d278c64.zip qemu-7cc07ab8daa01f100f36ab63382d491f2d278c64.tar.gz qemu-7cc07ab8daa01f100f36ab63382d491f2d278c64.tar.bz2 |
qemu-option: has_help_option() and is_valid_option_list()
has_help_option() checks if any help option ('help' or '?') occurs
anywhere in an option string, so that things like 'cluster_size=4k,help'
are recognised.
is_valid_option_list() ensures that the option list doesn't have options
with leading commas or trailing unescaped commas.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/qemu/host-utils.h')
0 files changed, 0 insertions, 0 deletions