On 09/18/2011 11:04 AM, Hervé Poussineau wrote:

Signed-off-by: Hervé Poussineau<hpous...@reactos.org>

Applied.  Thanks.

Regards,

Anthony Liguori

---
  hw/pc_piix.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index da6fa55..c0b8a3a 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -121,7 +121,7 @@ static void pc_init1(MemoryRegion *system_memory,
          pc_memory_init(system_memory,
                         kernel_filename, kernel_cmdline, initrd_filename,
                         below_4g_mem_size, above_4g_mem_size,
-                       pci_memory,&ram_memory);
+                       pci_enabled ? pci_memory : system_memory,&ram_memory);
      }

      if (!xen_enabled()) {


Reply via email to