Gerd Hoffmann <kra...@redhat.com> writes: > 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' }"
This new option argument syntax is undocumented. Intentional? > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > --- > vl.c | 29 +++++++++++++++++++++++++++-- > 1 file changed, 27 insertions(+), 2 deletions(-)