[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 9/9] pc: Drop redundant test for ROM memory region
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 9/9] pc: Drop redundant test for ROM memory region |
Date: |
Thu, 1 Nov 2012 20:05:54 +0100 |
From: Jan Kiszka <address@hidden>
Just a few lines above, we already initialize rom_memory accordingly.
Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
hw/pc_piix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 85529b2..cfa839c 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -178,7 +178,7 @@ static void pc_init1(MemoryRegion *system_memory,
fw_cfg = pc_memory_init(system_memory,
kernel_filename, kernel_cmdline, initrd_filename,
below_4g_mem_size, above_4g_mem_size,
- pci_enabled ? rom_memory : system_memory, &ram_memory);
+ rom_memory, &ram_memory);
}
gsi_state = g_malloc0(sizeof(*gsi_state));
--
1.7.12.1
- [Qemu-devel] [PATCH 1/6] ui/vnc: Only report/use TIGHT_PNG encoding if enabled., (continued)
- [Qemu-devel] [PATCH 1/6] ui/vnc: Only report/use TIGHT_PNG encoding if enabled., Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 3/6] target-arm/neon_helper: Remove obsolete FIXME comment, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 3/9] target-sparc: make do_unaligned_access static, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 4/6] configure: Remove unused parameters from main function, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 4/9] vl.c: add missing static, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 5/6] net/tap-win32: Fix compiler warning caused by missing include statement, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 5/9] vnc: add missing static, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 6/9] ppc: add missing static, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 6/6] ui/vnc-jobs.c: Fix minor typos in comments, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 7/9] target-ppc: make some functions static, Stefan Hajnoczi, 2012/11/01
- [Qemu-devel] [PATCH 9/9] pc: Drop redundant test for ROM memory region,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 8/9] exec: make some functions static, Stefan Hajnoczi, 2012/11/01
- Re: [Qemu-devel] [PULL 1.3 0/9] Trivial patches for 20 October to 1 November 2012, Blue Swirl, 2012/11/03