qemu-e2k/hw/i386/kvm
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
..
apic.c kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
clock.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
i8254.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
i8259.c pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP 2016-09-13 18:12:34 +03:00
ioapic.c kvm/ioapic: correct kvm ioapic version 2017-02-16 14:06:55 +01:00
Makefile.objs hw: move hw/kvm/ to hw/i386/kvm 2013-04-08 18:13:16 +02:00
pci-assign.c Convert error_report() to warn_report() 2017-07-13 13:49:58 +02:00