qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/2] i386/pc_piix: the pci-hole should end where the


From: Laszlo Ersek
Subject: [Qemu-devel] [PATCH 2/2] i386/pc_piix: the pci-hole should end where the system flash starts
Date: Thu, 7 Nov 2013 23:23:59 +0100

Signed-off-by: Laszlo Ersek <address@hidden>
---
 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 {
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]