Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-25 Thread Gary Lin
D_PCI_HOST. > > > > Any idee or pointer on how to fix those issues ? > > I think your suggestion that PcdPciDisableBusEnumeration=TRUE causes > these problems is likely correct. Both of the above issues seem to > originate from PciHostBridgeDxe's assumption

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
0004 060024 0057 006C 050030 0063 0000007B 030180 048D 05B0 040F00 0B65 0F00 Booting EFI Internal Shell InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 3EA580C0 Loading driver at 0x0003E03F

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
dy did and it's how I make the firmware spit the log :-( Thanks, Gary Lin > Regards, > Ray > > From: Gary Lin [mailto:g...@suse.com] > Sent: Tuesday, April 26, 2016 3:35 PM > To: Ni, Ruiyu > Cc: Anthony PERARD ; edk2-de...@lists.01.org; Xen > Devel > Subject: Re: [e

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
t/DxeCoreEntryPoint.c:54 #22 0x0000 in ?? () (gdb) The shell was waiting for the keystroke so it actually worked as expected. However, the shell UI didn't show in either serial console or the vncviewer. Gary Lin ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
you need to make is in PciIo.c: > Change GetMmioAddressTranslationOffset() to return 0 instead > of -1 when error occurs > Should I also remove "ASSERT (FALSE);" ? Cheers, Gary Lin > With the above 2 changes, can you check whether the system can > boot? > > If it can bo

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
On Wed, Apr 27, 2016 at 05:39:40AM +, Ni, Ruiyu wrote: > > > Regards, > Ray > > >-Original Message----- > >From: Gary Lin [mailto:g...@suse.com] > >Sent: Wednesday, April 27, 2016 12:29 PM > >To: Ni, Ruiyu > >Cc: edk2-de...@lists.01.org;

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Gary Lin
OK, I ignored PciGetBusRange() and the check of the return status of Configuration(). Since MinBus is already initialized, I don't bother to change the value anyway. The change is attached. And yes, this time the shell showed. Thanks, Gary Lin > Regards, > Ray > > >-Orig

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-28 Thread Gary Lin
On Thu, Apr 28, 2016 at 05:08:50AM +, Ni, Ruiyu wrote: > > > Regards, > Ray > > >-Original Message- > >From: Laszlo Ersek [mailto:ler...@redhat.com] > >Sent: Wednesday, April 27, 2016 6:44 PM > >To: Ni, Ruiyu ; Gary Lin > >Cc: edk

Re: [Xen-devel] [edk2] OVMF broken under Xen (in PCI initialisation)

2016-05-05 Thread Gary Lin
e to build OVMF, try $ sudo zypper in to install the package or search the package with $ sudo zypper se 7. Start the HVM guest as root. # xl create xen-test.cfg 8. Destroy the HVM guest. The instance won't be destroyed automatically after closing the sdl window. You h

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-10 Thread Gary Lin
On Thu, May 11, 2017 at 01:23:47AM +1000, Jan Beulich wrote: > >>> On 10.05.17 at 16:29, wrote: > > I was asked the following question which I am posting to the list. > > > > " > > My name is Gary Lin, and I am the maintainer of the OVMF package,

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-10 Thread Gary Lin
On Wed, May 10, 2017 at 04:47:49PM +0100, Wei Liu wrote: > On Wed, May 10, 2017 at 04:39:32PM +0100, Wei Liu wrote: > > On Wed, May 10, 2017 at 08:29:35AM -0600, Charles Arnold wrote: > > > I was asked the following question which I am posting to the list. > > > > &

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-10 Thread Gary Lin
On Thu, May 11, 2017 at 12:10:56PM +0800, Gary Lin wrote: > On Wed, May 10, 2017 at 04:47:49PM +0100, Wei Liu wrote: > > On Wed, May 10, 2017 at 04:39:32PM +0100, Wei Liu wrote: > > > On Wed, May 10, 2017 at 08:29:35AM -0600, Charles Arnold wrote: > > > > I was asked

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-11 Thread Gary Lin
08:29:35AM -0600, Charles Arnold wrote: > >> > > I was asked the following question which I am posting to the list. > >> > > > >> > > " > >> > > My name is Gary Lin, and I am the maintainer of the OVMF package, a > >> > >

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-12 Thread Gary Lin
So could you give the below/attached patch a try? > It won't compile. tests.c: In function 'perform_tests': tests.c:248:50: error: 'i' may be used uninitialized in this function [-Werror=maybe-uninitialized] if ( TEST_MEM_BASE < (uintptr_t)(modlist + i) &

Re: [Xen-devel] Is there any limitation on the firmware size in Xen?

2017-05-15 Thread Gary Lin
( TEST_MEM_BASE < (uintptr_t)(modlist + i) && > > ^ > > cc1: all warnings being treated as errors > > Oops - quite obviously. No idea why neither of the two gcc versions > I've built this with caught the issue. B