On 01/24/2012 01:27 PM, Paolo Bonzini wrote: > On 01/24/2012 12:10 PM, Avi Kivity wrote: >>> But viewing RAM as just another device, having Xen only restore a >>> subset of devices should be a reasonable thing to do moving forward. >>> The main problem here I believe is that we have part of the VGA Bios >>> functionality in the hardware emulation. >> >> Doesn't the main BIOS clear the screen first thing at boot? Not even >> sure the reset is needed. > > Clearing the screen should only write to the RAM at 0xB8000 (and > perhaps 0xA0000 since IIRC it's where text-mode fonts lie). The > option ROM cannot even assume that the main BIOS knows about the VESA > framebuffer, can it?
Yes, but why should anything else be needed? When you switch to a graphics mode, clear as much of the framebuffer as you need. -- error compiling committee.c: too many arguments to function