]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
default devices: vga adapter.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:45 +0000 (13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:42 +0000 (07:59 -0600)
commit64465297cd4c701942988f36f7ce707fb21cc1d8
treed26422eb9a4cdb230bb89a298308d92191d12f71
parente1c09175bc00dd8dfb2ad1b26e1858dcdc109b59
default devices: vga adapter.

Qemu creates a vga display for you in case you didn't specify one on the
command line.  Right now this is tied to the '-vga <type>' command line
switch, which in turn causes trouble if you are creating your gfx card
using '-device VGA,<props>'.

This patch adds a variable default_vga which says whenever a default
serial line should be added.  It is enabled by default.  It is cleared
when qemu finds '-vga' or '-device {VGA,Cirrus VGA,QEMUware SVGA}' on
the command line.

'-device VGA' still doesn't work though due to a initialization order
issue (vga must init before calling i440fx_init_memory_mappings).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c