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

2016-05-05 Thread Gary Lin
ave to destroy the instance manually. # xl destroy In my case, it's # xl destroy xen-test Let me know if you need more information to setup xen server/guest :) Thanks, Gary Lin > Regards, > Ray > > >-Original Message----- > >From: Laszlo

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

2016-05-05 Thread Ni, Ruiyu
n >Cc: edk2-devel@lists.01.org ; Xen Devel >; Kinney, Michael D > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On 04/28/16 07:08, Ni, Ruiyu wrote: > > >>>>> Do you know whether Xen passes the PCI device resource >>>>>

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

2016-04-28 Thread Laszlo Ersek
On 04/28/16 07:08, Ni, Ruiyu wrote: Do you know whether Xen passes the PCI device resource information to firmware? >> >> I don't think so, no. >> >> But, given that the previous PciHostBridgeDxe driver was working on Xen, >> can we perhaps emulate that behavior in >> "OvmfPkg/Library/P

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

2016-04-28 Thread Gary Lin
2-devel@lists.01.org ; Xen Devel > >; Kinney, Michael D > > > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >On 04/27/16 11:50, Ni, Ruiyu wrote: > >> Copying Mike. > >> > >> Regards, > >> Ray > >>

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

2016-04-27 Thread Ni, Ruiyu
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: edk2-devel@lists.01.org ; Xen Devel >; Kinney, Michael D > >Subject: Re: [edk2] OVMF broken under Xen (in P

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

2016-04-27 Thread Laszlo Ersek
ib" somehow? Do you think that step (2) above behaves differently between the old and the new PCI host bridge driver? (Steps (1) and (3) should be identical, they are initiated by the PCI Bus driver.) Thanks Laszlo >> >> Copying Laszlo. >> >> Regards, >> Ray &g

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

2016-04-27 Thread Ni, Ruiyu
Copying Mike. Regards, Ray >-Original Message- >From: Ni, Ruiyu >Sent: Wednesday, April 27, 2016 5:49 PM >To: 'Gary Lin' >Cc: edk2-devel@lists.01.org; Xen Devel ; Laszlo Ersek > >Subject: RE: [edk2] OVMF broken under Xen (in PCI initialisation) > &g

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

2016-04-27 Thread Ni, Ruiyu
se.com] >Sent: Wednesday, April 27, 2016 4:27 PM >To: Ni, Ruiyu >Cc: edk2-devel@lists.01.org; Xen Devel >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Wed, Apr 27, 2016 at 07:18:21AM +, Ni, Ruiyu wrote: >> Gary, >> In PciEnumeratorLight(), ple

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

2016-04-27 Thread Gary Lin
inal Message- > >From: Gary Lin [mailto:g...@suse.com] > >Sent: Wednesday, April 27, 2016 2:54 PM > >To: Ni, Ruiyu > >Cc: edk2-devel@lists.01.org; Xen Devel > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >On Wed, Apr 27

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

2016-04-27 Thread Ni, Ruiyu
>Sent: Wednesday, April 27, 2016 2:54 PM >To: Ni, Ruiyu >Cc: edk2-devel@lists.01.org; Xen Devel >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Wed, Apr 27, 2016 at 05:39:40AM +, Ni, Ruiyu wrote: >> >> >> Regards, >> Ray >

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

2016-04-26 Thread Gary Lin
t;> > >> And we need to have a way to tell PciHostBridgeDxe the resource information > >> passed from PciHostBridgeLib is available resource to assign, or already > >> allocated. > >> Maybe just depends on the PcdPciBusDisableEnumeration. still thinking. &

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

2016-04-26 Thread Ni, Ruiyu
Regards, Ray >-Original Message- >From: Gary Lin [mailto:g...@suse.com] >Sent: Wednesday, April 27, 2016 12:29 PM >To: Ni, Ruiyu >Cc: edk2-devel@lists.01.org; Xen Devel >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Tue, Apr 26, 2016

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

2016-04-26 Thread Gary Lin
-- > >From: Gary Lin [mailto:g...@suse.com] > >Sent: Tuesday, April 26, 2016 4:40 PM > >To: Ni, Ruiyu > >Cc: edk2-devel@lists.01.org; Xen Devel > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >On Tue, Apr 26, 2016 at 08:19:49AM +, Ni

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

2016-04-26 Thread Ni, Ruiyu
; > >> > >> > Regards, >> > Ray >> > >> > >-Original Message- >> > >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> > >Anthony PERARD >> > >Sent: Friday, April 22, 2016 10:48 PM >

Re: [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-devel@lists.01.org; Xen > Devel > Subject: Re: [e

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

2016-04-26 Thread Ni, Ruiyu
yu Cc: Anthony PERARD ; edk2-devel@lists.01.org; Xen Devel Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) On Tue, Apr 26, 2016 at 06:43:56AM +, Ni, Ruiyu wrote: > > > Regards, > Ray > > >-Original Message- > >From: edk2-devel [mailto:edk

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

2016-04-26 Thread Gary Lin
;To: edk2-devel@lists.01.org > >Cc: Xen Devel > >Subject: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >Hi, > > > >Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > >bridge does not finish to ini

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

2016-04-25 Thread Ni, Ruiyu
>Sent: Tuesday, April 26, 2016 2:29 PM >To: Anthony PERARD ; Ni, Ruiyu >Cc: edk2-de...@ml01.01.org; Laszlo Ersek ; Xen Devel > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Mon, Apr 25, 2016 at 01:43:01PM +0200, Laszlo Ersek wrote: >> On 04/

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

2016-04-25 Thread Ni, Ruiyu
Regards, Ray >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Anthony >PERARD >Sent: Friday, April 22, 2016 10:48 PM >To: edk2-devel@lists.01.org >Cc: Xen Devel >Subject: [edk2] OVMF broken under Xen (in PCI

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

2016-04-25 Thread Gary Lin
On Mon, Apr 25, 2016 at 01:43:01PM +0200, Laszlo Ersek wrote: > On 04/22/16 16:47, Anthony PERARD wrote: > > Hi, > > > > Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > > bridge does not finish to initialize and breaks under Xen. > > (Adding Ray Ni) > > > There are

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

2016-04-25 Thread Laszlo Ersek
On 04/22/16 16:47, Anthony PERARD wrote: > Hi, > > Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > bridge does not finish to initialize and breaks under Xen. (Adding Ray Ni) > There are several issue probably due to the use of > PcdPciDisableBusEnumeration=TRUE. >

[edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-22 Thread Anthony PERARD
Hi, Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root bridge does not finish to initialize and breaks under Xen. There are several issue probably due to the use of PcdPciDisableBusEnumeration=TRUE. First one: ASSERT MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.