]> git.proxmox.com Git - qemu.git/commit - vl.c
default devices: virtio consoles.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:53 +0000 (13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 14:17:30 +0000 (08:17 -0600)
commita231a8272ce373cfcdb7e9ce5df009e94a66c007
tree117a7b11ab0378edf0b307df37f2e1c2fda21ff6
parentf2604b35dc2bade22aadc27e71fdb22e96e2d69b
default devices: virtio consoles.

This patch adds a variable default_virtcon which says whenever a default
virtio console should be added.  It is disabled by default, followup
patch will enable it for s390.  It is cleared when qemu finds
'-virtiocon', '-device virtio-console-s390' or '-device
virtio-console-pci' on the command line.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit aee1b935c53cc747528138a85fcce8163d272598)
vl.c