Re: [Qemu-devel] [PATCH v2 1/4] ui: add qapi parser for -display

2018-05-07 Thread Eric Blake
On 05/07/2018 04:55 AM, Gerd Hoffmann wrote: Add parse_display_qapi() function which parses the -display command line using a qapi visitor for DisplayOptions. Wire up as default catch in parse_display(). Improves the error message for unknown display types. Also enables json as -display argume

[Qemu-devel] [PATCH v2 1/4] ui: add qapi parser for -display

2018-05-07 Thread Gerd Hoffmann
Add parse_display_qapi() function which parses the -display command line using a qapi visitor for DisplayOptions. Wire up as default catch in parse_display(). Improves the error message for unknown display types. Also enables json as -display argument, i.e. -display "{ 'type': 'gtk' }" Signed-o