Re: [Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Peter Crosthwaite
On Fri, Apr 18, 2014 at 2:53 PM, Paolo Bonzini wrote: > Il 18/04/2014 00:25, Peter Crosthwaite ha scritto: > >> This "nofail" (i.e. does not return NULL) mechanism driving >> qemu_get_machine_opts() does not need to be specific to machine opts >> - its applicable to other types of opts. Generalise

Re: [Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Paolo Bonzini
Il 18/04/2014 00:25, Peter Crosthwaite ha scritto: This "nofail" (i.e. does not return NULL) mechanism driving qemu_get_machine_opts() does not need to be specific to machine opts - its applicable to other types of opts. Generalise and re-implement qemu_get_machine_opts() as a caller of the gener

[Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Peter Crosthwaite
This "nofail" (i.e. does not return NULL) mechanism driving qemu_get_machine_opts() does not need to be specific to machine opts - its applicable to other types of opts. Generalise and re-implement qemu_get_machine_opts() as a caller of the generalisation. Signed-off-by: Peter Crosthwaite --- v