Re: [Qemu-devel] [PATCH 04/19] Add support for a option parameter as an enum

2010-06-26 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: This adds a new option parameter QEMU_OPT_ENUM. The user provides the value in its string representation. The parser validates this and converts it to integer representation for internal use. If the user supplies an invalid value it will report

[Qemu-devel] [PATCH 04/19] Add support for a option parameter as an enum

2010-06-07 Thread Daniel P. Berrange
This adds a new option parameter QEMU_OPT_ENUM. The user provides the value in its string representation. The parser validates this and converts it to integer representation for internal use. If the user supplies an invalid value it will report the precise allowed list of values. Signed-off-by: