]> git.proxmox.com Git - qemu.git/commit - console.c
check for active_console before using it
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 20 May 2010 13:23:06 +0000 (15:23 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Jun 2010 17:53:36 +0000 (12:53 -0500)
commit26572b8a0e90ee0c77587173a78fa293a1d2beb6
treeaf53e79866c62612cd07bbcfc88e6cfd93328ca9
parent4091da4b7cc251c7d422ccc5707900ed595b1ee0
check for active_console before using it

Other vga_hw_* functions do the same.
Fixes a segmentation fault.  Trigger: boot with -nodefaults,
then connect via vnc.

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