From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRtos-0006RN-PA for qemu-devel@nongnu.org; Wed, 01 Jun 2011 18:23:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRtoq-0003kg-TW for qemu-devel@nongnu.org; Wed, 01 Jun 2011 18:23:18 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:37037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRtoq-0003jk-D5 for qemu-devel@nongnu.org; Wed, 01 Jun 2011 18:23:16 -0400 Received: by eyb6 with SMTP id 6so101631eyb.4 for ; Wed, 01 Jun 2011 15:23:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110601221551.GA18369@morn.localdomain> References: <4DDF3768.5010002@web.de> <4DDF867A.9040700@siemens.com> <4DDFFE1E.1060900@web.de> <4DE3486F.10502@redhat.com> <20110531022922.GB10673@valinux.co.jp> <4DE5EA84.7040400@redhat.com> <08A969ED-DDE7-48A0-AFED-283239FFF5CE@suse.de> <4DE61289.6000505@assembler.cz> <4DE64300.603@redhat.com> <4DE64F4F.1010402@assembler.cz> <20110601221551.GA18369@morn.localdomain> From: Yushu Yao Date: Wed, 1 Jun 2011 15:22:54 -0700 Message-ID: Content-Type: multipart/alternative; boundary=0015174c190c6e46ea04a4adf736 Subject: Re: [Qemu-devel] [SeaBIOS] Graphics card pass-through working with two pass pci-initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: Rudolf Marek , seabios@seabios.org, Gerd Hoffmann , KVM list , "qemu-devel@nongnu.org Developers" --0015174c190c6e46ea04a4adf736 Content-Type: text/plain; charset=UTF-8 Hi Folks, Could anyone give me a 101 lesson on what is "two-pass PCI initialization"? I tried some time ago to pass a LSI megaraid to a rhel5 guest, but the initialization of the pci device inside the VM fails (because, I think, it was already initialized in the host). Just wondering could that be related? Have anyone tried passing a raid card to the guest? Thanks _Yushu +-------------------------------------------------+ | Yushu Yao | Ph:1-510-486-4690 | | Lawrence Berkeley National Lab | Mailstop 50B-6222 | 1 Cyclotron Road | Berkeley CA 94720-8147 - USA +-------------------------------------------------+ On Wed, Jun 1, 2011 at 3:15 PM, Kevin O'Connor wrote: > On Wed, Jun 01, 2011 at 04:40:15PM +0200, Rudolf Marek wrote: > > >Having a brief look at the coreboot code it seems static stuff (compiled > by > > >iasl) and dynamic bits are combined into the final dsdt table, is that > correct? > > > > Yes the dsdt is static, it has just external references to ssdt > > which is dynamically generated using the acpigen. > > > > Acpigen can generate the packages, names and sometimes even bits of > methods. > > That's interesting. SeaBIOS also has similar code - see > acpi.c:build_ssdt(). > > -Kevin > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > --0015174c190c6e46ea04a4adf736 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Folks,

Could anyone give me a 101 lesson on what is "two-pas= s PCI initialization"?

I tried some time ago to pass a LSI mega= raid to a rhel5 guest, but the initialization of the pci device inside the = VM fails (because, I think, it was already initialized in the host).

Just wondering could that be related? Have anyone tried passing a raid = card to the guest?

Thanks

_Yushu


+--= -----------------------------------------------+
| Yushu Yao
| Ph:1-5= 10-486-4690=C2=A0
|
| Lawrence Berkeley National Lab
| Mailstop 50B-6222
| 1 Cyclotr= on Road
| Berkeley CA 94720-8147 - USA
+-----------------------------= --------------------+




On Wed, Jun 1, 2011 at 3:15 PM, Kevin O&= #39;Connor <kevi= n@koconnor.net> wrote:
On Wed, Jun 01, 2011 at 04:40:15PM +0200, Rudolf Marek wr= ote:
> >Having a brief look at the coreboot code it seems static stuff (co= mpiled by
> >iasl) and dynamic bits are combined into the final dsdt table, is = that correct?
>
> Yes the dsdt is static, it has just external references to ssdt
> which is dynamically generated using the acpigen.
>
> Acpigen can generate the packages, names and sometimes even bits of me= thods.

That's interesting. =C2=A0SeaBIOS also has similar code - see
acpi.c:build_ssdt().

-Kevin
--
To unsubscribe from this list: send the line "unsubscribe kvm" in=
the body of a message to major= domo@vger.kernel.org
More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.html

--0015174c190c6e46ea04a4adf736--