vesafb
Can vesafb be used in a dom0? I ask because I can not get it to work. I am wondering if vm86mode is verboten in a xen guest.
thanks
ron
Quoted 2 lines
Can vesafb be used in a dom0? I ask because I can not get it to work. I am wondering if vm86mode is verboten in a xen guest.
Do you mean the linux kernel vesafb support?
This relies on Linux's very early bzImage real mode code to make the call to the VESA BIOS to put the framebuffer in graphics mode. Since we enter PV Linux in 32b mode straight from Xen there's no opportunity to do this. vm86 mode is not involved.
VESA driver support in the Xserver should work just fine.
As regards enabling vesafb, it might be nice to add support to Xen to drop into real mode via a trampoline in the bottom megabyte and execute a BIOS call (marshalling the registers in each direction). We can then get the dom0 kernel to make this hypercall when initialising the vesafb.
Ron, your BIOS experience would make you the ideal person to do this :-)
[There's code in syslinux that could be cribbed.]
Ian
Quoted 4 lines · Ian Pratt
As regards enabling vesafb, it might be nice to add support to Xen to drop into real mode via a trampoline in the bottom megabyte and execute a BIOS call (marshalling the registers in each direction). We can then get the dom0 kernel to make this hypercall when initialising the vesafb.
ok, I have implemented this in linuxbios once already, I will look into it.I had hoped never to see it again but you can't win them all :-)
thanks
ron