qemu/hw/i2c
Dr. David Alan Gilbert 44b1ff319c migration: pre_save return int
Modify the pre_save method on VMStateDescription to return an int
rather than void so that it potentially can fail.

Changed zillions of devices to make them return 0; the only
case I've made it return non-0 is hw/intc/s390_flic_kvm.c that already
had an error_report/return case.

Note: If you add an error exit in your pre_save you must emit
an error_report to say why.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20170925112917.21340-2-dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2017-09-27 11:35:59 +01:00
..
aspeed_i2c.c aspeed/i2c: introduce a state machine 2017-06-02 11:51:49 +01:00
bitbang_i2c.c
bitbang_i2c.h
core.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
exynos4210_i2c.c
i2c-ddc.c migration: Split qemu-file.h 2017-06-01 18:49:22 +02:00
imx_i2c.c
Makefile.objs ppc4xx_i2c: Move to hw/i2c 2017-09-08 09:30:55 +10:00
omap_i2c.c hw/i2c/omap_i2c.c: Don't use old_mmio 2017-09-21 16:34:27 +01:00
pm_smbus.c
ppc4xx_i2c.c ppc4xx_i2c: Move to hw/i2c 2017-09-08 09:30:55 +10:00
smbus_eeprom.c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
smbus_ich9.c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
smbus.c
versatile_i2c.c