vl: drop display_type variable
commite3af9f9a4075e81a0854017721de1799795d0a15
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 2 Feb 2018 11:10:22 +0000 (2 12:10 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Feb 2018 11:12:05 +0000 (20 12:12 +0100)
treec0a2a25e7c7ca37dd873fa3a3e5e9b22dc56d5d2
parent9b9b46c71c4cbec4559ed2edd51d88ac96efa480
vl: drop display_type variable

Switch over all leftover users to qapi DisplayType.
Then delete the unused display_type variable.

Add 'default' DisplayType, which isn't an actual display type but
a placeholder for "user didn't specify a display".  It will be replaced
by the DisplayType actually used, which in turn depends on the
DisplayTypes availabel in the particular build.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20180202111022.19269-13-kraxel@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qapi/ui.json
vl.c