On 04/02/2015 16:43, Marcel Apfelbaum wrote: > Commit e79d5a6 ("machine: remove qemu_machine_opts global list") removed > option > descriptions from the -machine QemuOptsList to avoid repeating MachineState's > QOM properties. > > This results in a Qemu crash if a non string option is queried using qemu > opts. > Fix this by querying machine properties through designated wrappers.
Wrappers vs. direct access to fields is just a matter of taste, so Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>