« Previous | Next » 

Revision 7cc07ab8

ID7cc07ab8daa01f100f36ab63382d491f2d278c64

Added by Kevin Wolf about 10 years ago

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 <>
Reviewed-by: Jeff Cody <>
Reviewed-by: Eric Blake <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences