Re: [PATCH for-5.2 2/4] qemu-option: move help handling to get_opt_name_value

2020-11-04 Thread Paolo Bonzini
On 04/11/20 13:21, Markus Armbruster wrote: Paolo Bonzini writes: Right now, help options are parsed normally and then checked specially in opt_validate---but only if coming from qemu_opts_parse or qemu_opts_parse_noisily, not if coming from qemu_opt_set. Instead, move the check from opt_vali

Re: [PATCH for-5.2 2/4] qemu-option: move help handling to get_opt_name_value

2020-11-04 Thread Markus Armbruster
Paolo Bonzini writes: > Right now, help options are parsed normally and then checked > specially in opt_validate---but only if coming from > qemu_opts_parse or qemu_opts_parse_noisily, not if coming > from qemu_opt_set. > > Instead, move the check from opt_validate to the common workhorses > of q

[PATCH for-5.2 2/4] qemu-option: move help handling to get_opt_name_value

2020-11-03 Thread Paolo Bonzini
Right now, help options are parsed normally and then checked specially in opt_validate---but only if coming from qemu_opts_parse or qemu_opts_parse_noisily, not if coming from qemu_opt_set. Instead, move the check from opt_validate to the common workhorses of qemu_opts_parse and qemu_opts_parse_no