Re: [edk2] xen OVMF problem

2012-10-26 Thread Bei Guan
to be right. I also have the same problem sometimes. You can try it several times. Maybe you can try this way: Install the UEFI OS(such as ubuntu1010) image on Xen without OVMF. And then, boot your UEFI OS image on OVMF. Thanks, Bei > > > ** ** > > >After that, I booted

Re: [edk2] xen OVMF problem

2012-10-24 Thread Bei Guan
is: disk = [ 'file:/root/xen_img/hvm_ubuntu1010_uefi2.img,ioemu:hda,w' ] It works well for me. I haven't tried the windows OS. Thanks, Bei > > Best Regards! > Arei > > -Original Message- > From: Gonglei (Arei) > Sent: Wednesday, October 24

Re: [edk2] xen OVMF problem

2012-10-23 Thread Bei Guan
= DEF(GCC44_ALL_CC_FLAGS) -m64 > -DNO_BUILTIN_VA_FUNCS -mno- red-zone -Wno-address -mcmodel=large > > ** ** > > Hi Jordan, Bei, > > Am I doing it wrong? > Hi Arei, Sorry. I'm not sure why OVMF needs this attribute "ms_abi". Maybe Jordan can give yo

Re: [edk2] OvmfPkg/PlatformPei/Platform.c does not work on Xen

2012-08-22 Thread Bei Guan
2012/8/23 Laszlo Ersek > Hello Bei, > > On 08/22/12 18:38, Bei Guan wrote: > > > I find the latest Ovmf doesn't work on Xen. The related change is: > > http://sourceforge.net/mailarchive/message.php?msg_id=29615810 > > (svn rev 13572) > > > Th

[edk2] OvmfPkg/PlatformPei/Platform.c does not work on Xen

2012-08-22 Thread Bei Guan
Hi Laszlo, I find the latest Ovmf doesn't work on Xen. The related change is: http://sourceforge.net/mailarchive/message.php?msg_id=29615810 The issue may be the following code in OvmfPkg/PlatformPei/Platform.c + AddIoMemoryRangeHob (TopOfMemory < BASE_2GB ? BASE_2GB : TopOfMemory, 0xFEC0)

Re: [edk2] [PATCH 0/4] OvmfPkg: PMBA fixes

2012-08-22 Thread Bei Guan
just have test your series patches on edk2 version r13522 and they're Ok for Xen. > > Do you know why Xen gets special treatment in MiscInitialization()? > I think Andrei would give you the details on this. I have cc to him. Thanks, Bei > > Thanks a lot! > Laszlo >