diff --git a/hw/pc.c b/hw/pc.c index 642af5e2b56f923ff3a38c1c50c57311864d4533..6175d871a6fb309db0998e25ac59cf382afed5c8 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -611,7 +611,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device, unsigned long bios_offset, vga_bios_offset; int bios_size, isa_bios_size; PCIBus *pci_bus; - int piix3_devfn; + int piix3_devfn = -1; CPUState *env; NICInfo *nd;