From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVetp-0006Wq-BG for qemu-devel@nongnu.org; Wed, 30 Nov 2011 02:48:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVeto-0002a5-3L for qemu-devel@nongnu.org; Wed, 30 Nov 2011 02:48:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:63966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVetn-0002Zy-O1 for qemu-devel@nongnu.org; Wed, 30 Nov 2011 02:48:12 -0500 Date: Wed, 30 Nov 2011 09:49:04 +0200 From: "Michael S. Tsirkin" Message-ID: <20111130074903.GD17781@redhat.com> References: <4ED58108.3090903@endace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4ED58108.3090903@endace.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Korolev Cc: sfd@endace.com, seabios@seabios.org, qemu-devel@nongnu.org On Wed, Nov 30, 2011 at 02:04:08PM +1300, Alexey Korolev wrote: > Hi, >=20 > We have got some issues with 64bit PCI devices support under Windows gu= ests. > Windows fails to start any PCI devices with 64bit BARs when size > exceeds 512MB with error code 12 (can't allocate resources). In > other words it fails when the PCI memory region is located above > 4GB. >=20 > I tried to investigate this problem and found document from Microsoft: > http://msdn.microsoft.com/en-us/windows/hardware/gg462986 >=20 > It states that the _DSM method must be implemented to support > devices above 4GB. That's not how I read it: Windows Vista always respects the boot configuration of devices above 4=C2=A0GB, considering the processor=E2=80=99s addressing capability and= the version of the Windows operating system that is running. > Unfortunately I'm not familiar with ACPI code of seabios, so can't > implement the _DSM method. May be you have other ideas what needs to > be done to fix it? Any help is appreciated. >=20 > Thanks, > Alexey Could you share some more detail about your setup? --=20 MST