xen: allow enable use of VGA console on dom0
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 31 May 2011 14:50:10 +0000 (10:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:34 +0000 (18:31 -0700)
commita18696ca2b7699c1949ac3f606bd28264e48f8dd
tree3bf1a31c4d2be51eae01ab11c56e3b0fca376299
parent5b47b8038f183b44d2d8ff1c7d11a5c1be706b34
xen: allow enable use of VGA console on dom0

commit c2419b4a4727f67af2fc2cd68b0d878b75e781bb upstream.

Get the information about the VGA console hardware from Xen, and put
it into the form the bootloader normally generates, so that the rest
of the kernel can deal with VGA as usual.

[ Impact: make VGA console work in dom0 ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
[v1: Rebased on 2.6.39]
[v2: Removed incorrect comments and fixed compile warnings]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/xen/Makefile
arch/x86/xen/enlighten.c
arch/x86/xen/vga.c [new file with mode: 0644]
arch/x86/xen/xen-ops.h
include/xen/interface/xen.h