Refactor how display drivers are selected
commitf8e465ff8094f0ee8acce4446022ea99a110cbf6
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 21 May 2009 21:54:00 +0000 (21 16:54 -0500)
committerAvi Kivity <avi@redhat.com>
Mon, 25 May 2009 13:58:48 +0000 (25 16:58 +0300)
tree707634d62a6c6a772ba99880646edac0452e1dd6
parent2589ee8b07e4cf6ba0ea740dbb1946207013627c
Refactor how display drivers are selected

My previous commit, f92f8afebe,  broke -vnc (spotted by Glauber Costa).  This
is because it's necessary to tell when the no special display parameters have
been passed and default to SDL or VNC appropriately.

This refactors the display selection logic to be less complicated which has
the effect of fixing the regression mentioned above.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/fw_cfg.c
hw/sun4m.c
qemu-char.c
sysemu.h
vl.c