]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
isa: Use realizefn for ISADevice
authorAndreas Färber <afaerber@suse.de>
Sun, 25 Nov 2012 01:37:14 +0000 (02:37 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 7 Jun 2013 10:14:45 +0000 (12:14 +0200)
commitdb895a1e6a97e919f9b86d60c969377357b05066
tree72f6786abe90f7fa77d2f10416df73cb9d62e35a
parenta3dcca567a1d4a5c79fb9c8fe2d9a21a4a7cebd5
isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <afaerber@suse.de>
34 files changed:
hw/audio/adlib.c
hw/audio/cs4231a.c
hw/audio/gus.c
hw/audio/pcspk.c
hw/audio/sb16.c
hw/block/fdc.c
hw/char/debugcon.c
hw/char/parallel.c
hw/char/serial-isa.c
hw/char/serial-pci.c
hw/char/serial.c
hw/display/cirrus_vga.c
hw/display/vga-isa.c
hw/dma/i82374.c
hw/i386/pc.c
hw/ide/isa.c
hw/input/pckbd.c
hw/input/vmmouse.c
hw/intc/i8259_common.c
hw/isa/isa-bus.c
hw/isa/pc87312.c
hw/misc/applesmc.c
hw/misc/debugexit.c
hw/misc/pc-testdev.c
hw/misc/pvpanic.c
hw/misc/sga.c
hw/misc/vmport.c
hw/net/ne2000-isa.c
hw/timer/i8254_common.c
hw/timer/m48t59.c
hw/timer/mc146818rtc.c
hw/watchdog/wdt_ib700.c
include/hw/char/serial.h
include/hw/isa/isa.h