vnc: -readconfig fix
commit006decd448ae3ce04f12e2bbdd3079ba74d25c89
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Feb 2015 07:45:06 +0000 (17 08:45 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Mar 2015 10:33:39 +0000 (10 11:33 +0100)
tree4eb51451c833d673eb315ff7ce7705274b14ea5d
parent9634f4e3b721f75f9ba4c87fe1499d5e95fc63ca
vnc: -readconfig fix

Now that -vnc goes through QemuOpts we can get vnc configuration
via -readconfig too.  So setting display_remote in the command
line parsing code doesn't cut it any more, we must check QemuOpts
instead to see whenever any vnc display is configured.

Reported-by: Markus Armbruster <armbru@redhat.com>
Tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
vl.c