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