qemu/hw/timer
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
..
Makefile.objs
a9gtimer.c
allwinner-a10-pit.c
altera_timer.c
arm_mptimer.c
arm_timer.c
armv7m_systick.c
aspeed_timer.c
cadence_ttc.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
cmsdk-apb-timer.c
digic-timer.c
ds1338.c
etraxfs_timer.c
exynos4210_mct.c
exynos4210_pwm.c
exynos4210_rtc.c
grlib_gptimer.c
hpet.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
i8254.c
i8254_common.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
imx_epit.c
imx_gpt.c
lm32_timer.c
m48t59-internal.h
m48t59-isa.c
m48t59.c
mc146818rtc.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
milkymist-sysctl.c
mips_gictimer.c
mss-timer.c
omap_gptimer.c
omap_synctimer.c
pl031.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
puv3_ost.c
pxa2xx_timer.c
sh_timer.c
slavio_timer.c
stm32f2xx_timer.c
sun4v-rtc.c
trace-events
twl92230.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
xilinx_timer.c