qemu-e2k/hw/ide
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
..
ahci_internal.h AHCI: Rework IRQ constants 2017-09-18 19:41:11 -04:00
ahci.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
atapi.c IDE: replace DEBUG_AIO with trace events 2017-09-18 15:01:26 -04:00
cmd646.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
core.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
ich.c ahci: split public and private interface 2017-07-18 11:47:57 -04:00
isa.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
macio.c macio: switch over to new byte-aligned DMA helpers 2016-10-27 16:29:13 -04:00
Makefile.objs
microdrive.c hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false 2017-09-18 15:01:25 -04:00
mmio.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
pci.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
piix.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
qdev.c hw/ide: Convert DeviceClass init to realize 2017-09-18 19:43:38 -04:00
trace-events AHCI: pretty-print FIS to buffer instead of stderr 2017-09-18 19:41:11 -04:00
via.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00