From patchwork Thu Nov 7 22:23:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 289514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B21EC2C00B3 for ; Fri, 8 Nov 2013 09:40:03 +1100 (EST) Received: from localhost ([::1]:43052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeXxn-0003ed-4J for incoming@patchwork.ozlabs.org; Thu, 07 Nov 2013 17:22:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeXxK-0003VN-UE for qemu-devel@nongnu.org; Thu, 07 Nov 2013 17:21:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeXxE-0001Oe-Tx for qemu-devel@nongnu.org; Thu, 07 Nov 2013 17:21:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeXxE-0001OY-Ls for qemu-devel@nongnu.org; Thu, 07 Nov 2013 17:21:32 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rA7MLNlO003241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Nov 2013 17:21:23 -0500 Received: from lacos-laptop.usersys.redhat.com (vpn1-6-189.ams2.redhat.com [10.36.6.189]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rA7MLD5J001824; Thu, 7 Nov 2013 17:21:20 -0500 From: Laszlo Ersek To: qemu-devel@nongnu.org, peter.maydell@linaro.org, edk2-devel@lists.sourceforge.net, mst@redhat.com, jan.kiszka@siemens.com, marcel.a@redhat.com, anthony@codemonkey.ws, pbonzini@redhat.com, jljusten@gmail.com, afaerber@suse.de, rth@twiddle.net Date: Thu, 7 Nov 2013 23:23:59 +0100 Message-Id: <1383863039-18875-3-git-send-email-lersek@redhat.com> In-Reply-To: <1383863039-18875-1-git-send-email-lersek@redhat.com> References: <1383859470.2527.64.camel@localhost.localdomain> <1383863039-18875-1-git-send-email-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 2/2] i386/pc_piix: the pci-hole should end where the system flash starts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Laszlo Ersek --- hw/i386/pc_piix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 6e2c027..9bda20a 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -152,7 +152,7 @@ static void pc_init1(QEMUMachineInitArgs *args, pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, &isa_bus, gsi, system_memory, system_io, args->ram_size, below_4g_mem_size, - 0x100000000ULL - below_4g_mem_size, + (0x100000000ULL - flash_size) - below_4g_mem_size, above_4g_mem_size, pci_memory, ram_memory); } else {