From: Jan Kiszka <[email protected]>

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/hw/pc.c b/hw/pc.c
index 332d48d..ee48e08 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -859,7 +859,7 @@ static void pc_init1(ram_addr_t ram_size,
     ram_addr_t ram_addr, bios_offset, option_rom_offset;
     ram_addr_t below_4g_mem_size, above_4g_mem_size = 0;
     int bios_size, isa_bios_size, oprom_area_size;
-    int pci_option_rom_offset;
+    int pci_option_rom_offset = 0;
     PCIBus *pci_bus;
     int piix3_devfn = -1;
     CPUState *env;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to