[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH]Load the cirrus vga rom for the OVMF UEFI support in hvmloader

On Thu, Mar 22, 2012 at 01:57, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Thu, 2012-03-22 at 08:29 +0000, Bei Guan wrote:
>> Hi All,
>> Now, OVMF UEFI can boot on the Xen hvmloader. But, there is no VGA
>> bios for OVMF from the source code hvmloader/ovmf.c in the upstream
>> Xen.
>> I have tried the vgabios provided by Xen, but I can see nothing
>> through the vnc client or sdl graphic window. Actually, if we check
>> the boot trace log of OVMF, we find that OVMF has booted into the OS
>> installer grub.
>> When I try the cirrus_vga bios (named OvmfVideo.rom in edk2) provided
>> by OVMF, I can see the OVMF boot successfully through the vnc client
>> or sdl graphic window.
>> So, this patch makes the hvmloader load the cirrus_vga bios for OVMF
>> on Xen. Any suggestions and comments are appreciated.
> I'd prefer to not expose this behaviour any further than the existing
> ROMBIOS use case.
> Can Tianocore not deploy option ROMs directly from the hardware (e.g. by
> using the ROM BAR on the PCI device).

Yes, we can load the ROM from the PCI ROM bar.  Older versions of QEMU
did not support the ROM BAR, and would find the vgabios in the C000
segment, so OVMF also looks there.

Yet another option is to build the cirrus logic video driver directly
into the main OVMF image.  I think we are going to make this change,
because dealing with the separate VGABIOS ROM occasionally fails.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.