qemu-e2k/include/qapi
Paolo Bonzini 372bcb2585 qapi, qemu-options: make all parsing visitors parse boolean options the same
OptsVisitor, StringInputVisitor and the keyval visitor have
three different ideas of how a human could write the value of
a boolean option.  Pay homage to the backwards-compatibility
gods and make the new common helper accept all four sets (on/off,
true/false, y/n and yes/no), but remove case-insensitivity.

Since OptsVisitor is supposed to match qemu-options, adjust
it as well.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201103161339.447118-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-04 12:00:40 -05:00
..
qmp qmp: Move dispatcher to a coroutine 2020-10-09 07:08:20 +02:00
clone-visitor.h qapi: Make visitor functions taking Error ** return bool, not void 2020-07-10 15:18:08 +02:00
dealloc-visitor.h
error.h qapi/error: Check format string argument in error_*prepend() 2020-07-24 15:03:09 +02:00
opts-visitor.h
qmp-event.h
qobject-input-visitor.h
qobject-output-visitor.h
string-input-visitor.h
string-output-visitor.h
util.h qapi, qemu-options: make all parsing visitors parse boolean options the same 2020-11-04 12:00:40 -05:00
visitor-impl.h qapi: Make visitor functions taking Error ** return bool, not void 2020-07-10 15:18:08 +02:00
visitor.h qapi: Make visitor functions taking Error ** return bool, not void 2020-07-10 15:18:08 +02:00