On 2014/10/28 15:35, Markus Armbruster wrote: > Convert the device models where initialization obviously can't fail. > > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > hw/acpi/piix4.c | 5 ++--- > hw/audio/ac97.c | 5 ++--- > hw/audio/es1370.c | 5 ++--- > hw/audio/intel-hda.c | 6 ++---- > hw/display/vga-pci.c | 11 ++++------- > hw/display/vmware_vga.c | 6 ++---- > hw/i2c/smbus_ich9.c | 5 ++--- > hw/ide/cmd646.c | 5 ++--- > hw/ide/piix.c | 10 ++++------ > hw/ide/via.c | 6 ++---- > hw/ipack/tpci200.c | 6 ++---- > hw/isa/i82378.c | 6 ++---- > hw/isa/piix4.c | 5 ++--- > hw/isa/vt82c686.c | 24 ++++++++---------------- > hw/misc/pci-testdev.c | 6 ++---- > hw/net/e1000.c | 6 ++---- > hw/net/eepro100.c | 6 ++---- > hw/net/ne2000.c | 6 ++---- > hw/net/rtl8139.c | 6 ++---- > hw/net/vmxnet3.c | 6 ++---- > hw/pci-bridge/dec.c | 5 ++--- > hw/pci-host/apb.c | 5 ++--- > hw/pci-host/bonito.c | 6 ++---- > hw/pci-host/grackle.c | 5 ++--- > hw/pci-host/piix.c | 12 +++++------- > hw/pci-host/ppce500.c | 6 ++---- > hw/pci-host/prep.c | 6 ++---- > hw/pci-host/q35.c | 5 ++--- > hw/pci-host/uninorth.c | 20 ++++++++------------ > hw/pci-host/versatile.c | 5 ++--- > hw/usb/hcd-ehci-pci.c | 6 ++---- > hw/usb/hcd-xhci.c | 6 ++---- > hw/watchdog/wdt_i6300esb.c | 6 ++---- > 33 files changed, 85 insertions(+), 149 deletions(-)
Reviewed-by: Gonglei <arei.gong...@huawei.com> Best regards, -Gonglei