pc: initialize ioapic before use.
commitb8d6f53986c56dfcffe1961cb01877e81d0f8bb5
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 14 May 2010 07:29:03 +0000 (14 16:29 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 15:32:28 +0000 (15 15:32 +0000)
tree427e7b17856b52360877125d0493cf7533b79f8d
parent93d89f63e5a297f8672daf5d8b7b4df2a999af61
pc: initialize ioapic before use.

The changeset of 2c8d9340203c7f19265fd4cb2341f568217a3af6
prevents isa_irq_handler() from NULL refering of IsaIrqState::ioapic.
However it would be better to initialize the member before reference.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.c