Skip to contentSkip to conversation

qemu-kvm: x86: Init pci_option_rom_offset for VGA BIOS absence

PATCH Applied Jan Kiszka 2 participants 2 messages May 23, 2009 – May 24, 2009 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 qemu-kvm: x86: Init pci_option_rom_offset for VGA BIOS absence

---

 hw/pc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/pc.c +1 -1
index 332d48d..ee48e08 100644
@@ -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;