[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 07:43, Bei Guan <gbtju85@xxxxxxxxx> wrote:
>
>
> 2012/3/22 Attilio Rao <attilio.rao@xxxxxxxxxx>
>>
>> On 22/03/12 08:29, 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.

Can you test modifying OvmfPkg/OvmfPkgX64.dsc:

Remove this from the end:
[OptionRom.OvmfVideo]
INF  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
    PCI_DEVICE_ID  = 0x00B8
  }

Add this near the 'Usb Support' section of drivers:
INF  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf

This will embed the video driver into the OVMF FD image.

Thanks,

-Jordan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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