diff options
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r-- | 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 ec7da6d4c6..0144534e82 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -127,7 +127,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, - rom_memory, &ram_memory); + pci_enabled ? rom_memory : system_memory, &ram_memory); } if (!xen_enabled()) { |