]> Git Repo - qemu.git/commit
ui: add qapi parser for -display
authorGerd Hoffmann <[email protected]>
Mon, 7 May 2018 09:55:36 +0000 (11:55 +0200)
committerGerd Hoffmann <[email protected]>
Tue, 15 May 2018 08:37:40 +0000 (10:37 +0200)
commit776d1344bd0566f412d5bc063e753a6b98530bcf
tree0e2c9f65cbef6d9a4eeaf18356c2ee61a0a3e0ce
parentf31f9c1080d8907c95f1501c6abab038eceb5490
ui: add qapi parser for -display

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-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 20180507095539[email protected]
vl.c
This page took 0.02297 seconds and 4 git commands to generate.