Refactor how display drivers are selected
commit993fbfdb1b1a8d9b3d32ed57afc70a7be1a5e9dc
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 21 May 2009 21:54:00 +0000 (21 16:54 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 22 May 2009 01:54:40 +0000 (21 20:54 -0500)
treeb0babc07fa0cd9a00c8b072618f7492434884746
parentec6bd8dea77478f32981a5df49f66ca2430ad19d
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